Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

plot second y axis matplotlib

#We create a secondary y-axis for the definded column
df.plot(secondary_y='name_of_column')
plt.show()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #plot #axis #matplotlib
ADD COMMENT
Topic
Name
7+3 =