question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

matplotlib now completely broken with hvplot

See original GitHub issue

It used to work for the most part

import xarray as xr
import hvplot.xarray
import holoviews as hv
hv.extension('matplotlib')
ds = xr.tutorial.open_dataset('air_temperature').isel(lat=0, lon=0)
ds.hvplot('lon', 'lat')

But now it errors out:

ValueError: Unexpected option 'height' for Curve type when using the 'matplotlib' extension. No similar options founds.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
maximltcommented, Oct 18, 2022

hvPlot now supports Matplotlib as an additional backend.

0reactions
jbednarcommented, Mar 5, 2021

Just to be clear, Matplotlib is fully supported by HoloViews and by Panel; it’s simply not supported by hvPlot. hvPlot is an alternative API for HoloViews that maps from options specified into a certain form that was defined by Pandas into HoloViews options for the Bokeh backend. We can do the same sort of mapping for any other backend, but currently have neither funding nor volunteers for doing that. So we do not support Matplotlib for hvPlot currently, but that could change if we get either funding or a volunteer to work with us to do that mapping.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gridded Data — hvPlot 0.8.2 documentation
hvPlot provides one API to explore data of many different types. Previous sections have exclusively worked with tabular data stored in pandas (or...
Read more >
Output type is currently not supported when using pycharm ...
When I try to plot data with hvplot, I get an error saying "Output type ... always put full error message (starting at...
Read more >
Applying Customizations — HoloViews v1.15.3
And now we display the curve and a spikes elements together in a layout as we ... Path will tab complete bokeh keywords,...
Read more >
Plotting — HoloViz 0.15.1 documentation
plot API. Static or interactive output in Jupyter notebooks. hvPlot – Bokeh/Matplotlib/Plotly-based HoloViews plots for Pandas, GeoPandas, xarray, Dask ...
Read more >
Python Data Visualization 2018: Why So Many Libraries?
The InfoVis libraries can be further broken down into numerous ... into completely new plot types from within Python (as for Bokeh).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found