Skip to content
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

Plotting Matrix Datetime index decade #164

Open
PaulMunters opened this issue Jan 12, 2023 · 1 comment
Open

Plotting Matrix Datetime index decade #164

PaulMunters opened this issue Jan 12, 2023 · 1 comment

Comments

@PaulMunters
Copy link

I have very long dataframes with hourly observations for extended and varying time periods. The y-axis values sometimes become unreadable due to overlapping (see example). I tried in vain many options from the pandas timeframe documentation to set freq, or periods etc.

Is it possible to set a fixed number of Y-axis ticks that are evenly distributed over the axis, say 5 or 10, in combination with freq="Y". Or to use decades instead of year?

example

@ResidentMario
Copy link
Owner

The freq feature is generally problematic. It's not powerful enough for what it does, and should either be removed or improved. See #147 (comment) for a previous comment to the same effect.

Until I rewrite this bit of code, you should still be able to do what you want to do by editing the plot directly using matplotlib commands. missingno outputs a matplotlib plot after all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants