You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
All plot_ operations have an indexer input allowing callers to specify the data slice to be plotted given dim1=label1, dim2=label2, ... of a coordinate variable dim.
Expected behavior
If indexers is given, xarray indexing methods should always be nearest.
Actual behavior
Indexing methods is nearest only if a label is not of type int. If user types lat=12 the plot call will fail, because ``12is anint`.
Steps to reproduce the problem
See unit tests in plotting.
Specifications
0.9.0dev3
The text was updated successfully, but these errors were encountered:
All
plot_
operations have anindexer
input allowing callers to specify the data slice to be plotted given dim1=label1, dim2=label2, ... of a coordinate variable dim.Expected behavior
If
indexers
is given,xarray
indexing methods should always benearest
.Actual behavior
Indexing methods is
nearest
only if a label is not of typeint
. If user typeslat=12
the plot call will fail, because ``12is an
int`.Steps to reproduce the problem
See unit tests in plotting.
Specifications
0.9.0dev3
The text was updated successfully, but these errors were encountered: