User Tools

Site Tools


tools:miscellaneous

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tools:miscellaneous [2017/10/30 11:23]
fbeninca
tools:miscellaneous [2017/10/30 13:45]
etourign
Line 4: Line 4:
  
 For who uses the python matplotlib library. As the Tk library (the default backend) is not installed (and must be installed compiling again python itself), to avoid the error "ImportError: No module named _tkinter", a workaround has been implemented: modify the general configuration file of the package changing the default backend to "Agg". It must be edited every time a new version of the package with the same default configuration will be installed. For who uses the python matplotlib library. As the Tk library (the default backend) is not installed (and must be installed compiling again python itself), to avoid the error "ImportError: No module named _tkinter", a workaround has been implemented: modify the general configuration file of the package changing the default backend to "Agg". It must be edited every time a new version of the package with the same default configuration will be installed.
 +
 +If you want to see your plots in real time with the .show() command you should choose a graphical backend like "GTKAgg" or "Qt5Agg". But before remember to load respective modules! 
  
  
tools/miscellaneous.txt ยท Last modified: 2020/11/29 13:48 by bsolaraj