I want to place a colored vertical range on my plot and came across the following example:
http://stackoverflow.com/questions/8270981/in-a-matplotlib-plot-can-i-highlight-specific-x-value-ranges/8271438#8271438 It shows what I am trying to do using axvspan. However, I was not able to reproduce the second plot with dates. Errors like 'invalid syntax' for color='red' and others prevented me from reproducing the plot. The demo from Matplotlib gallery worked fine for me. My plot also has dates on the x-axis. I am attaching code and data file. Hope someone can point me in the right direction. L Fleischfresser
NotasFaltasdoisgraficos.py
Description: Binary data
NotasFaltasMec22012.csv
Description: Binary data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users