You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even with matplotlib=3.0.2 (as suggested in #281), I am getting IndexError: single positional indexer is out-of-bounds by calling stack_plot(). But it doesn't apply to all stack_plot calls. I haven't identified the pattern yet, but some stack_plot calls are working fine.
When there is the error, simply replacing stack_plot with line_plot or bar_plot works fine.
The text was updated successfully, but these errors were encountered:
Can you please attach the data (as csv) for a minimal example that reproduces this error? I.e., only the filtered data that you want to plot plus the stack_plot() arguments. (If you aren't sure how to do it, let's discuss on Slack).
Thanks @danielhuppmann. I attach an xlsx here since it doesn't allow csv..
With the dataframe given below, what I tested was data.filter(region="World").stack_plot(), while this data.filter(region="World").line_plot() is working fine.
Even with
matplotlib=3.0.2
(as suggested in #281), I am gettingIndexError: single positional indexer is out-of-bounds
by callingstack_plot()
. But it doesn't apply to allstack_plot
calls. I haven't identified the pattern yet, but somestack_plot
calls are working fine.When there is the error, simply replacing
stack_plot
withline_plot
orbar_plot
works fine.The text was updated successfully, but these errors were encountered: