-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Add support for Layout/Grid titles in bokeh #1017
Conversation
That looks good! Shame bokeh doesn't let you do this more directly. Make sure to test this in Chrome/Firefox/Safari and if you find it is working well, I am happy to merge. |
Ready to merge when tests pass. |
@@ -153,7 +154,43 @@ def sync_sources(self): | |||
|
|||
|
|||
|
|||
class GridPlot(BokehPlot, GenericCompositePlot): | |||
class CompositePlot(BokehPlot): | |||
|
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.
Would be good to have a docstring explaining what this base class is for. Right now, everything CompositePlot
does seems to be only needed by LayoutPlot
. Any ideas what CompositePlot
could be used for that isn't LayoutPlot
?
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.
GridPlot, just below, but yes I'll add a docstring.
Looks good, thanks! |
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. |
As I had suggested in #989 it is possible to add a Div as a title to a composite plot. This finally adds consistency in titles between matplotlib and bokeh backends for Layout and Grid plots.
Still needs tests.
Examples
Layout
Grid