-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line plot with x=coord putting wrong variables on axes #2725
Comments
Thanks @TomNicholas. Here's the diff that gets it working (minus error-checking & tests). I can't get to it until tonight so if you have the time to go ahead and send in a PR, please do so. EDIT: This needs to account for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try to plot the values in a 1D DataArray against the values in one of its coordinates, it does not behave at all as expected:
Output:
Problem description
Not only is
'voltage'
not on the x axis, but'current'
isn't on the y axis either!Expected Output
Based on the documentation (and common sense) I would have expected it to plot voltage on the x axis and current on the y axis.
(using a branch of xarray which is up-to-date with master)
The text was updated successfully, but these errors were encountered: