X Tutup
Skip to content

Matplotlib subplots and datetime x-axis functionality not working as intended? #6141

@mburke05

Description

@mburke05

Hi guys!

I'm on Anaconda 64-bit, python 2.7, windows, and have been experiencing some wonkiness in subplotting with some datetime x-axes.

I've written a detailed post on the issue on stack here:

http://stackoverflow.com/questions/35922918/matplotlib-subplot-datetime-x-axis-ticks-not-working-as-intended

The dataframe index that the x-axis is reading from is a series of date-time objects minute-by-minute for a week; could it be that the number of points is too great? If so why would it yield the plot for one subplot but not all the others? And why does it include the terminal point of the x axis for the previous plot.

I wasn't able to find any help on the issue elsewhere combing through stack so it might just be an error in my interpretation of how to use the date formatter with subplots.

Also forgive the aesthetic appearance (I imported Seaborn), the behavior is the same when I run without importing Seaborn.

Finally, when I attempt to view the plot itself without using %pylab inline the figure window that opens freezes (and python crashes.) This to me suggests that maybe it's some sort of memory limitation which I think is possible given the number of x axis points in total across all 7 subplots (~10k total, ~1.4k/ea)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup