Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuring plotly.js #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alyst
Copy link
Contributor

@alyst alyst commented Jul 7, 2024

Currently PlotlyBase.jl uses plotly.js 2.3.0 (also it's the version that plotly-base-artifacts provides), which is almost two years old and does not support some nice features, e.g. shape labels.

Technically, in the current PlotlyBase.jl the plotly.js version is specified in PLOTLYJS_VERSION constant.
This PR turns into into a configurable variable, that could be read/set with PlotlyBase.plotly_version() and PlotlyBase.set_plotly_version() calls, respectively.
The PR also updates the used plotly.js version to 2.33.0.

@alyst
Copy link
Contributor Author

alyst commented Jul 19, 2024

@sglyon Could you please take a look?

@hhaensel
Copy link
Contributor

Maybe, one should also adapt the deps to produce a more modern artifact?

I just bumped the plotlyjs version in our StipplePlotly package in order to take advantage of the latest plotly features, e.g. alignment in sankey plots.

So doing the same here is certainly a good idea. Before releasing, one could bump the version to today's latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants