Oleg Komarov

Results 45 comments of Oleg Komarov

Do you have a repo where you can reproduce the issue? I can't help you based on this alone.

Hi I have not used Flask i18n but Miguel Grinberg's Mega tutorial covers that! Check out his [Part XIII - i18n and l10n](https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xiii-i18n-and-l10n)

Could you provide a reproducible example of the solution with the current issue? Have you tried the localization for Plotly a suggested in [changing locale with external CDN](https://github.com/plotly/dash/issues/880#issuecomment-574689351)?

> Thanks for your link, it is about locales for built-in labels in plotly JS file, but my goal is to translate strings specific to one dashboard. Then I misunderstood...

~~I found a workaround, wrap the label in a tuple to bypass the string validation carried out by plotly:~~ ~~`fig.layout.sliders[0]['currentvalue']['prefix'] = (_('date_slider_label'))`~~ in `_plotly_utils.py` line 1020 the function `validate_coerce` does...

@mccarthysean thanks for the contribution. I will have some time to review it next week and will add a section in the blog/template :)

The simple workaround is to strip the whole part in the datenum, i.e. with `rem()` or `mod()`, before you plot. You clearly do not need the integer parts since your...

Now I recall the full workaround: https://github.com/matlab2tikz/matlab2tikz/wiki/FAQ#user-content-time-series-plot-raises-dimension-too-large-tex-error

At the moment the only way around it is to create an additional custom colormap, as I do in `drawPatch`. Create a generic sub-function that handles `cdata` supplied as RGB...

That's what I suggested some time long ago