Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

matplotlib styles attr

style.use('Solarize_Light2')
plt.plot([1, 2, 3], [5, 2, 7])
plt.show()

style.use('default')
plt.plot([1, 2, 3], [5, 2, 7])
plt.show()

#We can see all the available styles by accessing the style.available attribute.
style.available
Source by app.dataquest.io #
 
PREVIOUS NEXT
Tagged: #matplotlib #styles #attr
ADD COMMENT
Topic
Name
3+8 =