UltraPlot: 2D Xarray plotting not working for string coordinates
Not sure if this is officially supported, since I am using the xarray plot method. But the following code seems to plot only part of the array along the axis with string labels.
import numpy as np
import xarray as xr
import ultraplot as uplt
test=xr.DataArray(np.random.rand(6,6), dims=('x', 'y'), coords={'x':['a', 'b', 'c', 'd', 'e', 'f']})
fig, ax=uplt.subplots()
test.plot(x='x', ax=ax)
Ultraplot Version: 1.0.7 Xarray Version: 2025.1.2
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (17 by maintainers)
Closing as the issue is outside of the scope. Feel free to re-open if they fix it on their end.