Open draeath opened 6 years ago
alternatively it could be configured in the users' context instead of in code, but this may be undesirable as it would effect other invocations of matplotlib by that user. This can be accomplished by setting backend : svg
in the user's matplotlibrc
I found that the usage of matplotlib in distruct.py fails if X is not present:
To work around this, the following two lines should be included prior to
import matplotlib.pyplot as plot
:For example, the top of the file looks like this:
I have tested this solution and was able to generate an svg file from a headless node.