Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Matplotlib add text to axes

#Axis.text() method
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.text.html

ax1.text(1.1, -300, 'Label', color='#af0b1e',
         weight='bold', rotation=3)
         
Add the text s to the Axes at location x, y in data coordinates.


Source by matplotlib.org #
 
PREVIOUS NEXT
Tagged: #Matplotlib #add #text #axes
ADD COMMENT
Topic
Name
7+8 =