Image invert_yaxis shifts the plot after upgrading panel library
See original GitHub issueALL software version info
Python 3.7 holoviews==1.13.5 bokeh==2.2.3 panel==0.10.1
Description of expected behavior and the observed behavior
The Image
is shifted after using invert_yaxis
. The problem appeared after upgrading panel from 0.9.7 to 0.10.1.
Complete, minimal, self-contained example code that reproduces the issue
import numpy as np
import holoviews as hv
import panel as pn
hv.extension('bokeh')
vector = np.arange(100)
data = np.outer(vector, vector)
hv.Image(data).opts(invert_yaxis=True)
Screenshots or screencasts of the bug in action
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to invert the x or y axis - Stack Overflow
DisplacedAussie's answer is correct, but usually a shorter method is just to reverse the single axis in question: plt.scatter(x_arr, y_arr) ax = plt.gca() ......
Read more >Chapter 4. Visualization with Matplotlib - O'Reilly
At this point, any plt plot command will cause a figure window to open, and further commands can be run to update the...
Read more >Customizing Plots — HoloViews v1.15.3
Inverting axes : Flipping the x-/y-axes and inverting an axis. Axis labels: Setting axis labels using dimensions and options. Axis ranges: Controlling axes...
Read more >Visualization with Matplotlib | Python Data Science Handbook
Matplotlib is a multi-platform data visualization library built on NumPy arrays, and designed to work with the broader SciPy stack.
Read more >plot3D: Plotting Multi-Dimensional Data
When x and y is a vector, the function uses R-function image. This means that the x- and y- axis will extend the...
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 think this is gonna be fixed with #4665. I tried to run it and got all of them to show up correctly.
Closing now that Panel 0.10.3 with a fix is released.