-
-
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
Filter style keywords according to backend #802
Conversation
In the last commit, I skip filtering if The assumption is that things like Is this assumption reasonable? |
Sounds reasonable, yes. Not sure why not doing that would make it fail though. |
Without it, I saw odd things in the Elements notebook...for instance the first overlay with errorbars ended up having red errorbars instead of the usual black ones. |
Thanks for the last fix! Ready to merge once the tests pass. |
Okay, tests passing at last. Merging. |
In the future, in cases where multiple backends use the same keyword to mean different things, should we support adding an identifier to specify the backend? E.g. 'bokeh:linewidth=5" or "mpl:linewidth=10"? This could also be used if we wanted to customize the two plots separately, e.g. to choose one color that looks good against mpl's default gray background, and a different color for Bokeh... |
Seems like a good suggestion - please file an issue for this as a feature request. |
That does sounds like a good suggestion, although I'd go for something like |
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. |
I think this functionality is best expressed with a screenshot:
Note that
linewidth
applies to matplotlib andline_width
applies to Bokeh.