.. _f-faqmatplotlib:
module ``faq.faq_matplotlib``
=============================
Short summary
+++++++++++++
module ``ensae_teaching_cs.faq.faq_matplotlib``
Quelques problèmes récurrents avec `matplotlib `_.
:githublink:`%|py|6`
Functions
+++++++++
+------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| function | truncated documentation |
+======================================================================================================+====================================================================================================================================================================================================+
| :func:`avoid_overlapping_dates ` | Avoids overlapping dates by calling method :epkg:`autofmt_xdate`. |
+------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :func:`change_legend_location ` | Changes the location of the legend. |
+------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :func:`close_all ` | Closes every graph with :epkg:`matplotlib`. |
+------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :func:`graph_cities ` | Plots the cities on a map with :epkg:`cartopy`. Only not empty names are displayed on the graph. |
+------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :func:`graph_cities_default_lands ` | Returns the default list of elements which can be added to a map. See `Features `_. ... |
+------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :func:`graph_style ` | Changes :epkg:`matplotlib` style. |
+------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :func:`graph_with_label ` | Creates a graph with :epkg:`matplotlib`. |
+------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Documentation
+++++++++++++
.. automodule:: ensae_teaching_cs.faq.faq_matplotlib
:members:
:special-members: __init__
:show-inheritance: