Comments (5)
Thanks for reporting this, seems as if the indices are getting reversed. I'll push a fix in the next few minutes.
from holoviews.
That was definitely something I was worried about, because our tested notebooks nearly all use square plots by default. Not sure how to test this better in general, without supplying non-square dimensions explicitly to every example...
from holoviews.
It's taking a bit longer as Raster and Image obviously have different coordinate spaces. I'll think about it a bit more tonight and hopefully come up with a clean fix by tomorrow.
from holoviews.
Just pushed a fix for this, sampling of non-square Raster and Image Elements is now handled correctly. In fact the problem went a lot deeper than it appeared. Indexing of our Elements always happens by the order of dimensions so when indexing into a Raster type, the first index will map onto the x-axis. This was previously inverted. Additionally the xdensity and ydensity on Images was also inverted resulting in the index errors you see above. This should all be fixed now, the Continuous_Coordinates tutorial is updated and I added a few unit tests.
from holoviews.
Once the associated Travis tests for these commits pass I will close this issue.
from holoviews.
Related Issues (20)
- "Build an app" in pyodide raises ImportError
- Show legend for rasterized overlay
- datashade of NdOverlay of QuadMesh does not work HOT 4
- NdOverlay graph colors disappear for "show_legend=False" for Scatter graphs.
- Overlay of HLines with categorical axis doesn't work.
- holoview/matplotlib fails to plot a raster image with a log scale
- `match_aspect` parameter for bokeh's `BoxZoomTool` is not working HOT 4
- GridSpace with one axis renders without tools in Bokeh
- Removing the legend from NdOverlay also removes the colors
- HoloMap doesn't show new graph when previous graph was empty. HOT 1
- Enabling the Matplotlib backend for Holoviews breaks Matplotlib in notebooks HOT 3
- Buffer does not work as dict argument to Dynamic Map HOT 1
- `hv.Bars` with more than one `kdim` randomly generates incorrect x-ticks in some cases (matplotlib backend) HOT 3
- The pointerXY stream breaks on heatmaps with categorical kdims
- [matplotlib backend] Setting title for `hv.Bars` does not work HOT 1
- Bug with hvplot plotly violin plots using 'by' argument
- Adding tools to an Overlay has no effect
- Customize zoom icons for subcoordinate-y plots HOT 3
- PointDraw empty_value field not respected when using style mapping
- HoloViews kdims go missing when sent to a separate process HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from holoviews.