Visual Studio Code – Tikzplotlib module throws attribute error: module 'webcolors' has no attribute 'CSS3_HEX_TO_NAMES'
I would like to convert matplotlib figures to PGFPlots/Tikz figures while using the module tikzplotlib: import matplotlib.pyplot as plt import numpy as np import tikzplotlib x = np.linspace(0, 2*np.pi, 51) y = np.sin(x) plt.plot(x, y) plt.xlabel("x") plt.ylabel("y") tikzplotlib.save('test.tex') When I…