This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
other:python:jyp_steps [2019/06/03 16:32] jypeter [Matplotlib] improved |
other:python:jyp_steps [2019/06/17 09:21] jypeter [Useful matplotlib reference pages] Added 'title' functions |
||
---|---|---|---|
Line 260: | Line 260: | ||
* [[https://matplotlib.org/examples/color/named_colors.html|named colors]] | * [[https://matplotlib.org/examples/color/named_colors.html|named colors]] | ||
* [[https://matplotlib.org/api/_as_gen/matplotlib.pyplot.text.html|text(...)]] and [[https://matplotlib.org/tutorials/text/annotations.html|annotations]] | * [[https://matplotlib.org/api/_as_gen/matplotlib.pyplot.text.html|text(...)]] and [[https://matplotlib.org/tutorials/text/annotations.html|annotations]] | ||
+ | * Some titles: | ||
+ | * [[https://matplotlib.org/api/_as_gen/matplotlib.figure.Figure.html#matplotlib.figure.Figure.suptitle|Figure title]]: ''my_figure.suptitle('Figure title', ...)'' | ||
+ | * [[https://matplotlib.org/api/axes_api.html#axis-labels-title-and-legend|Axis Labels, title, and legend]]: ''my_plot.set_title('Plot title', ...)'' | ||
* ''fontsize'': size in points, or (better!) string specifying a relative size (''xx-small'', ''x-small'', ''small'', ''medium'', ''large'', ''x-large'', ''xx-large'') | * ''fontsize'': size in points, or (better!) string specifying a relative size (''xx-small'', ''x-small'', ''small'', ''medium'', ''large'', ''x-large'', ''xx-large'') | ||
* [[https://matplotlib.org/api/text_api.html#matplotlib.text.Text|all the text properties]] | * [[https://matplotlib.org/api/text_api.html#matplotlib.text.Text|all the text properties]] |