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

Added support for static bokeh png rendering #1493

Merged
merged 2 commits into from
May 29, 2017
Merged

Conversation

philippjfr
Copy link
Member

The bokeh 0.12.6 release will add static png rendering support and this PR exposes this support at the bokeh renderer level. Because rendering to png is so slow this is not particularly useful for working interactively but will be very useful for generating output which can be embedded in any document, including the thumbnails for our gallery.

@jlstevens
Copy link
Contributor

Happy to merge this simple addition. My only worry is we need to keep testing it to make sure it continues to work as the Bokeh export API evolves. Might be worth having a unit test that just checks that a PNG file is generated (without trying to check the contents).

@philippjfr
Copy link
Member Author

Might be worth having a unit test that just checks that a PNG file is generated (without trying to check the contents).

Sounds reasonable.

@jlstevens
Copy link
Contributor

I suppose getting this unit tests working means updating the bokeh version on Travis. Alternatively, we could annotate such tests like we do with 'optional' to skip them for now...

@philippjfr
Copy link
Member Author

Alternatively, we could annotate such tests like we do with 'optional' to skip them for now...

It is marked optional, just like the other bokeh renderer tests.

@jlstevens
Copy link
Contributor

It is marked optional, just like the other bokeh renderer tests.

We need a new annotation as Travis runs all tests (doesn't use -a '!optional') right now. I'm proposing an annotation that means 'don't run on travis yet' or 'will be run on travis once ready and this annotation is removed'.

@philippjfr
Copy link
Member Author

I'm proposing an annotation that means 'don't run on travis yet' or 'will be run on travis once ready and this annotation is removed'.

Seems easier to just add a SkipTest that checks the bokeh version for now.

@jlstevens
Copy link
Contributor

Seems easier to just add a SkipTest that checks the bokeh version for now.

Good idea.

@jlstevens
Copy link
Contributor

There is no need to ever remove the version check for the SkipTest either. When you say 'for now', I am happy with 'forever'! :-)

@jlstevens
Copy link
Contributor

The pr builds are green so I'll merge once the push build is green as well.

@jlstevens jlstevens merged commit 93d5058 into master May 29, 2017
@jbednar jbednar deleted the bokeh_png_export branch May 30, 2017 01:33
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants