Passing colorbar=True to a datashaded element could raise a warning
See original GitHub issueSince colorbar doesn’t apply in this case?
points = df.hvplot.points('index', 'value')
datashade(points).options(colorbar=True)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
hvplot/converter.py at master - GitHub
A high-level plotting API for pandas, dask, xarray, and networkx built on HoloViews - hvplot/converter.py at master · holoviz/hvplot.
Read more >pyviz/pyviz - Gitter
Hi, using matplotlib backend can I use an existing axis from plt.fig() to pass to an single element?
Read more >TypeError when using Datashade - HoloViz Discourse
Hi, I try to use Datashade in a project, but I get an error as soon as I use Datashade. ... WARNING:param.dynamic_operation: Callable...
Read more >Holoviews - Bloglovin'
I have created a Sankeydiagram using a Holomap and I want to show the sums of the respective nodes by hovering over them...
Read more >Simple, concise geographical visualization in Python
What is it? GeoViews is a Python library that makes it easy to explore and visualize any data that includes geographic locations.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I wasn’t quite right about that. In the matplotlib backend the
RasterPlot
class handles Rasters, Images and RGBs. In the bokeh backend the problem is thatRGBPlot
inherits thecolorbar
parameter fromRasterPlot
. So what would need to happen is that in both backends we need to ensure that theRGBPlot
class does not inherit fromColorbarPlot
.No, I think RGB inheriting from Image is by design; semantically, it’s a type of Image. But these are the element classes; what’s shared is the bokeh and matplotlib plotting class RGBPlot. Specifically, there’s no separate ImagePlot class. But we can’t simply copy RGBPlot to another one ImagePlot and omit the colorbar option, because RGBPlot inherits from RasterPlot which inherits from ColorbarPlot, which is presumably what makes it support the colorbar option. So it will take a bit of juggling classes to get things working properly…