Closed KANGseungseok closed 1 year ago
Hi @KANGseungseok,
I believe the issue occurs when the version of matplotlib to write and load the template file is different. To resolve the issue the templates need to be removed. You can find the templates here:
import sigProfilerPlotting as sigPlt
import os
template_path = os.path.join(os.path.dirname(sigPlt.__file__), "references/templates/")
Please let me know if this resolves your issue. Thanks!
Hi, @mdbarnesUCSD
Thank you very much for your help. The sigprofilerExtractor was successfully running. However, the template is recreated at the specified path. Do I need to delete it periodically? What is the role of this template?
Hi @KANGseungseok,
The template is generated to speed up the plotting, since many plots are created during a run. A template contains a plot containing the x-axis labels and other plotting components that do not change. The issue occurs when the template is being loaded in. It seems this is because the version of matplotlib used to generate the plot template is different than the version of matplotlib that was used to load the template. It is necessary to remove the templates when the version of matplotlib changes in your environment.
Hello, I am using sigprofilerExtractor version 1.1.21 and plotting version 1.3.14. I encountered the following error and would like to know the cause. Thank you.