-
-
Notifications
You must be signed in to change notification settings - Fork 406
enh(bokeh): Add radius
and radius_dimension
to PointPlot
#6599
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6599 +/- ##
=======================================
Coverage 88.81% 88.82%
=======================================
Files 326 326
Lines 69530 69550 +20
=======================================
+ Hits 61756 61776 +20
Misses 7774 7774 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
def _init_glyph(self, plot, mapping, properties): | ||
if "radius" in properties: | ||
self._plot_methods = dict(single='circle', batched='circle') | ||
properties.pop("size", None) |
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.
This will make it so radius always has priority over size.
radius
and radius_dimension
to PointPlotradius
and radius_dimension
to PointPlot
Looks good! |
Adds
radius
andradius_dimension
to the Bokeh PointPlot. Because radius works with Circle, we update the_plot_methods
before calling_init_glyph
.