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

substitute old savefig code with PlotlyKaleido #481

Merged
merged 6 commits into from
Feb 23, 2024

Conversation

BeastyBlacksmith
Copy link
Member

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 28.07%. Comparing base (457befe) to head (7481ad7).
Report is 1 commits behind head on master.

Files Patch % Lines
src/PlotlyJS.jl 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #481      +/-   ##
==========================================
- Coverage   35.62%   28.07%   -7.55%     
==========================================
  Files           8        8              
  Lines         306      260      -46     
==========================================
- Hits          109       73      -36     
+ Misses        197      187      -10     
Flag Coverage Δ
unittests 28.07% <75.00%> (-7.55%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@thchr
Copy link
Contributor

thchr commented Feb 23, 2024

Would this fix #473? Seems Windows still hangs on precompilation :(

@BeastyBlacksmith
Copy link
Member Author

Well, it doesn't hang on precompilation, but errors at using time

@BeastyBlacksmith BeastyBlacksmith merged commit 75eacf4 into master Feb 23, 2024
@BeastyBlacksmith BeastyBlacksmith deleted the bbs/PlotlyKaleido branch February 23, 2024 13:50
@thchr
Copy link
Contributor

thchr commented Feb 23, 2024

For extensions that pull in PlotlyJS.jl, this seems to be essentially an equivalent problem though?

@BeastyBlacksmith
Copy link
Member Author

In that it doesn't work on windows, yes.

@disberd
Copy link
Member

disberd commented Mar 6, 2024

@BeastyBlacksmith, is there a reason why this PR didn't use savefig directly from PlotlyKaleido instead of basically reimplementing the same method?

I had a quick look at the code here and didn't see too much difference.

Edit: I see that it might be due to the html show part... though it's a pity to have the duplication

@BeastyBlacksmith
Copy link
Member Author

though it's a pity to have the duplication

Yeah, they differed slightly, so I didn't want to touch it. But if you have a way to streamline that, feel free to go for it.

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.

4 participants