Can matplotlib and pylab be used to create a filled line graph?

I was wondering if it is possible to create a completed line graph as shown below using matplotlib?

I have matplotlib 0.91.2 and pylab.

imagehttp://test1.xsports.co.nz/media/Forecast.png

+3
source share
1 answer

This example in the matplotlib gallery looks like it will do what you want - you just need to fill in the graph and the x axis.

Alternatively, you can use a histogram with many individual pixel bars (or any other resolution you wanted).

NTN

+2
source

Source: https://habr.com/ru/post/1772770/


All Articles