python - Matplotlib timedelta set ylim -


i have series of graphs plotting different days on x axis , time in minutes on y axis. enter image description here graphs have different max value , want set ylim same them. tried selecting max value pandas dataframe, , setting max using ylim. gave error message:

typeerror: ufunc 'isfinite' not supported input types, , inputs not safely coerced supported types according casting rule ''safe'' 

i tried manually setting limit 7 should keep visualisation similar below, instead get: enter image description here

how can amend limits when y axis in timedelta , measured in minutes?

note 1e11 on upper left corner of first plot? means y-axis scaled 1e11.

manually setting ylim 7e11 give desired results.

however, 700000000000 minutes veeery long time! might indicate problem in calculations. better check code divisions - maybe divide small numbers. reason error message posted.


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -