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/17 09:21] jypeter [Useful matplotlib reference pages] Added 'title' functions |
other:python:jyp_steps [2019/06/18 08:40] jypeter [Useful matplotlib reference pages] Added special colormap values |
||
---|---|---|---|
Line 256: | Line 256: | ||
* ''fillstyle'': ''full'', ''None'', [[https://matplotlib.org/gallery/lines_bars_and_markers/marker_fillstyle_reference.html|other]] | * ''fillstyle'': ''full'', ''None'', [[https://matplotlib.org/gallery/lines_bars_and_markers/marker_fillstyle_reference.html|other]] | ||
* Other attributes: ''markersize'', ''markerfacecolor'' (and ''markerfacecoloralt'' for dual color markers), ''markeredgecolor'', ''markeredgewidth'' | * Other attributes: ''markersize'', ''markerfacecolor'' (and ''markerfacecoloralt'' for dual color markers), ''markeredgecolor'', ''markeredgewidth'' | ||
- | * [[https://matplotlib.org/api/colors_api.html|colors]] | + | * [[https://matplotlib.org/api/colors_api.html|colors]] and colormaps |
* [[https://matplotlib.org/gallery/color/color_demo.html|color demo]] | * [[https://matplotlib.org/gallery/color/color_demo.html|color demo]] | ||
* [[https://matplotlib.org/examples/color/named_colors.html|named colors]] | * [[https://matplotlib.org/examples/color/named_colors.html|named colors]] | ||
+ | * Reverting the colors: add ''_r'' at the end of the colormap name | ||
+ | * Special colormap colors | ||
+ | * ''cmap.set_bad(color='k')'': color to be used for masked values | ||
+ | * ''cmap.set_over(color='k')'': color to be used for high out-of-range values | ||
+ | * ''cmap.set_under(color='k')'': color to be used for low out-of-range values | ||
* [[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: | * Some titles: |