tikzplotlib icon indicating copy to clipboard operation
tikzplotlib copied to clipboard

:bar_chart: Save matplotlib figures as TikZ/PGFplots for smooth integration into LaTeX.

Results 138 tikzplotlib issues
Sort by recently updated
recently updated
newest added
trafficstars

[colab](https://colab.research.google.com/drive/1QwOPw-Ncq3AwgvmVZGxqQ4Qc1jSdTmDq#scrollTo=TXhlBrGsp_Xl) ```python import matplotlib.pyplot as plt import seaborn as sns import numpy as np import tikzplotlib from matplotlib.colors import LinearSegmentedColormap # Define the custom colormap colors = [(0, '#ff0000'), (0.25,...

[Python code on colab generated by ChatGPT](https://colab.research.google.com/drive/19ExnyzF8GjnK3vfhUZ2JwQIHfFUC5U_Y?usp=sharing) ```python import matplotlib.pyplot as plt import tikzplotlib # Create a simple plot plt.figure() plt.plot([0, 1, 2], [0, 1, 0]) plt.title("Title with Newline\nCharacter") #...

Work around https://github.com/ubernostrum/webcolors/commit/68ba427417b6065684a162f1484c45886a401a85 / https://github.com/ubernostrum/webcolors/issues/20

This avoids ``` AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead. ```

It seems that there is not compatible with webcolors? ```python { "name": "AttributeError", "message": "module 'webcolors' has no attribute 'CSS3_HEX_TO_NAMES'", "stack": "--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[32],...