matplotlib styles attr

Solutions on MaxInterview for matplotlib styles attr by the best coders in the world

showing results for - "matplotlib styles attr"
Noam
22 Nov 2017
1style.use('Solarize_Light2')
2plt.plot([1, 2, 3], [5, 2, 7])
3plt.show()
4
5style.use('default')
6plt.plot([1, 2, 3], [5, 2, 7])
7plt.show()
8
9#We can see all the available styles by accessing the style.available attribute.
10style.available
11