Matplotlib Plotting Tutorials : 021 : Fill colours in line plots

preview_player
Показать описание
All the programs and examples will be available in this public folder!

Рекомендации по теме
Комментарии
Автор

Nice video. Question: assume I have a time series that oscillates around 0. I want to fill the plot above and below zero. However, my x axis is Datetime, the index of my dataframe. I prefer not to drop the index just to plot but I cannot use plt.fill_between unless I have a 2nd time series plotted. Any ideas?

CFAinNoVA
join shbcf.ru