invert_yaxis=True not working with bokeh backend ?
See original GitHub issueThanks for contacting us! Please read and follow these instructions carefully, then delete this introductory text to keep your issue easy to read. Note that the issue tracker is NOT the place for usage questions and technical assistance; post those at Discourse instead. Issues without the required information below may be closed immediately.
ALL software version info
hvplot:0.7.0 xarray:0.16.2
Description of expected behavior and the observed behavior
Expected behavior:
Observed behavior:
Complete, minimal, self-contained example code that reproduces the issue
import xarray as xr
import hvplot.xarray
import holoviews as hv
np.random.seed(1)
refdist = np.array(range(100,1000,100))
depth = np.array(range(5,30,10))
data = np.random.uniform(low = -5, high = 5, size = (len(refdist), len(depth)))
ds = xr.Dataset(
{ "V": (["refdist", "depth"], data),
},
coords={
"refdist": (refdist),
"depth": (depth),
},
)
cf=ds['V'].hvplot.contourf(z='V', x='refdist', y='depth', levels=10)
cf
cf.opts(invert_yaxis=True)
invert_yaxis=True
doesn’t change the orientation of the plot cf
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
bokeh backend could not plot any Elements in the Overlay. #917
I think this is friction and makes hvplot harder to use than it has to be. Instead an empty but working plot should...
Read more >plots — Bokeh 2.4.2 Documentation
Specify the output backend for the plot area. match_aspect ... If True , the widget will be greyed-out and not responsive to UI...
Read more >Bar plots in holoviews with bokeh backend do not overlay
To respond to your specific issues: I can overlay bars in matplotlib backend and somewhat with plotly - but not with bokeh.
Read more >Working with Bokeh - GeoViews
The Bokeh backend offers much more advanced tools to interactively explore data, making good use of GeoViews support for web mapping tile sources....
Read more >Plotting with Bokeh — HoloViews v1.15.3
Working with bokeh directly#. When HoloViews outputs bokeh plots it creates and manipulates bokeh models in the background. If at any time you...
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
No, Panel. There’s a Panel issue that affects HoloViews and hvPlot layouts: https://github.com/holoviz/panel/pull/1818 The fix is merged, but not yet released.
I believe if you roll back Panel to an earlier release this should be fixed; can’t recall which version. Should also be fixed in the next Panel release, but that’s not out yet.