Skip to content

option to suppress plotting of corresponding higher frequency reference #1300

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

Closed
timmie opened this issue May 23, 2012 · 4 comments
Closed
Labels
Datetime Datetime data dtype Enhancement Visualization plotting

Comments

@timmie
Copy link
Contributor

timmie commented May 23, 2012

In pandas 0.8.0, the time series plotting will be much improved (see
attached example plot)
What I'd love to see is an option to switch the reference time value off for aggregated time series.

Examples:

  • I have an average of wind speeds created from 5 years of data --> plotting a year would not make sense
  • daily maximum temperatures recoded during a single month --> depending on the case, showing the reference month or not could be desirable.
@timmie
Copy link
Contributor Author

timmie commented Jun 25, 2012

The implementation shall aim at passing a string for formatting of label to the function:

ts.plot(dt_str='%D.%M')

@timmie
Copy link
Contributor Author

timmie commented Jun 27, 2012

Maybe the subject could better generalised into:

allow modification of datetime formatting in output to

@changhiskhan
Copy link
Contributor

In mpl each data type is mapped to a single converter, so I think the way to do this is to give the custom format string to the x-axis and then have the converter check whether a custom format exists when getting the tick labels.
However, this will mean that with custom format strings you'll lose the dynamic labeling that switches based on the axis scales.

@jorisvandenbossche
Copy link
Member

Closing this as there is no clear enhancement for pandas, and you can always change the default Formatter with matplotlib.

@jorisvandenbossche jorisvandenbossche modified the milestones: No action, Someday Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Enhancement Visualization plotting
Projects
None yet
Development

No branches or pull requests

3 participants