Flipped axis when plotting geographic data using `shade()`
- Dominant language
- Python
- Stars
- 3.6k
- Forks
- 376
- Avg merge
- 4h 32m
- Merged PRs (30d)
- 1
Description
Hi!
Thanks for a very useful library! I am aware that there have been issues and discussion about the flipped axes when plotting `xarray.DataArrays` (e.g. [here](https://github.com/holoviz/hvplot/issues/668), [here](https://github.com/holoviz/datashader/pull/1095) and [here](https://github.com/holoviz/datashader/issues/1054)) and although there has been work to solve this, I believe there is still an issue when using `shade()` function, i.e. the output image is flipped when using the `shade()` function as shown below. The latter one is correct and the first one seems to be flipped:

### Setup
Python 3.10.13
xarray 2023.10.1 pyhd8ed1ab_0 conda-forge
xarray-spatial 0.3.7 pyhd8ed1ab_0 conda-forge
datashader 0.16.0 pyhd8ed1ab_0 conda-forge
Is there any workaround for this, or ongoing efforts to fix this issue?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the geographic xarray.DataArray case described in the issue and inspect the shade() entry point for axis-orientation handling. Compare the shaded output with the correct reference image; done means geographic data is rendered without the flipped axis and the behavior is covered by an appropriate regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100