-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
full_figure_for_development #2737
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, with one comment. As for testing, I think it would be worth adding a simple test under tests/test_optional
(where kaleido is already installed for CI).
Just something simple that actually invokes kaleido and checks some expected default value.
if scope is None: | ||
raise ValueError( | ||
""" | ||
Image export using the "kaleido" engine requires the kaleido package, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably refer to full_figure_for_development instead of Image export here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! done
OK added a test and some docs! |
OK, all done! I had to add |
also I added a doc page... feedback welcome :) @emmanuelle if you want to take a look that'd be cool too :) |
Not sure about the Python 3.5 thing specifically, but decoding explicitly to utf-8 is the right thing to do. |
Addresses the non-error portion of #1967
@jonmmease I'm not sure how to best test this or if such a trivial function is worth a test... ?