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

Enhance savefig() #494

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Enhance savefig() #494

wants to merge 6 commits into from

Conversation

alyst
Copy link
Contributor

@alyst alyst commented Dec 12, 2024

This PR does 2 things:

  • cleanup savefig(): combine docstring from all 3 versions, streamline keyword argument passing using kwargs...
  • add plotlyjs and plotly_version keyword arguments to savefig() to control which plotly.js Kaleido would be using to generate the figures.
    This is to allow using more recent versions of plotly.js than the one provided by the PlotlyJS.jl (the current one, 2.3.0, is more than a year old).

I have also regenerated the plotly.js artifact using version 2.35.2.
I can provide the file, or the maintainers can run generate_artifacts.jl themselves.

See also comment for PlotlyBase.jl#106

@alyst
Copy link
Contributor Author

alyst commented Dec 12, 2024

Looks like windows tests fail due to kaleido 0.2 issue not related to PR.
Documentation fails because some examples fail to access certain URLs.

@jd-foster
Copy link
Collaborator

Thanks for the PR, I'll try to take a look soon.

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