diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-07-28 11:55:02 +0200 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2020-07-28 11:55:02 +0200 |
commit | 2bf81f9caa70e30a0e3a8eaf792243a9d4a2436b (patch) | |
tree | 8a168c573cbf8106af989d6ad8e452c9d3e9c04f /src/python/doc | |
parent | 9938ed3c3beedbc7fc946068e3b7e47187a83903 (diff) |
Add mechanism to deactivate LaTeX matplotlib rendering
Diffstat (limited to 'src/python/doc')
-rw-r--r-- | src/python/doc/persistence_graphical_tools_user.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/python/doc/persistence_graphical_tools_user.rst b/src/python/doc/persistence_graphical_tools_user.rst index b5a38eb1..5cdc2dca 100644 --- a/src/python/doc/persistence_graphical_tools_user.rst +++ b/src/python/doc/persistence_graphical_tools_user.rst @@ -90,3 +90,17 @@ If you want more information on a specific dimension, for instance: gudhi.plot_persistence_density(persistence=pers_diag, dimension=1, legend=True, axes=axes[1]) plt.show() + +LaTeX support +------------- + +By default, persistence graphical tools are using LaTeX support for matplotlib if available (cf. +`matplotlib text rendering with LaTeX <https://matplotlib.org/3.3.0/tutorials/text/usetex.html>`_). +It also requires `type1cm` LaTeX package (not detected by matplotlib). + +If you are facing issues with LaTeX rendering, you can still deactivate LaTeX rendering by saying: + +.. code-block:: python + + import gudhi + gudhi.persistence_graphical_tools._gudhi_matplotlib_use_tex=False |