Skip to content

How to compress a time series plot, after taking out specific month from a dataset? #5606

Answered by dcherian
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

The issue is that matplotlib is interpreting the time axis properly. If you really want different output I would drop the TIME variable: OLRNA.drop_vars("TIME").plot() You'll just have an integer x-axis.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected by max-sixty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant