python - Plot empty DataFrame -


can force empty dataframe plot? i'm filling xlim , yticks, don't see why should not possible.

>>> df empty dataframe columns: [time, ch, 0] index: []  >>> df.plot(x="time", y="ch",             ax=ax,             ...             xlim=(start, end),             yticks=range(ymin, ymax+1)) ... typeerror: empty 'dataframe': no numeric data plot 

also tried plot using matplotlib.pyplot, ends keyerror if pass ax.

>>> plt.plot() >>> plt.axes(ax) ... keyerror: <matplotlib.axes._subplots.axessubplot object @ 0x00000000060e6be0> 


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -