-
-
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 automatic categorical legend for datashaded plots #4806
Conversation
Does this still have the property that the previous hack did, of disrupting the axis range of a plot if that plot didn't happen to include 0,0? If so that needs documenting and explaining how to work around it. |
No, |
Actually no, not even that, it won't cause that issue because the plot won't even take part in axis range calculation in this approach. |
Woohoo!!! |
9f4e11c
to
00305e5
Compare
Okay, happier with this now. I've put the operation behind a try/except as well so we don't cause any regressions in case I missed something. |
Already fixed in #4821
Hmm, I suppose that's a problem. It uses what's actually in the data (which is how legends everywhere work). We could introduce a |
1455570
to
8bcd688
Compare
Codecov Report
@@ Coverage Diff @@
## master #4806 +/- ##
==========================================
- Coverage 86.74% 86.64% -0.10%
==========================================
Files 299 299
Lines 62218 62343 +125
==========================================
+ Hits 53969 54019 +50
- Misses 8249 8324 +75
Continue to review full report at Codecov.
|
Can this be used for showing legend entries of |
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. |
Inspects the pipeline of an RGB element and discovers the shade and rasterize operations used to generate an RGB to then automatically add a legend.