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
Previous revision
Last revision Both sides next revision
tools:miscellaneous [2017/10/30 11:23]
fbeninca
tools:miscellaneous [2018/09/27 13:31]
fbeninca
Line 1: Line 1:
-This page describes additional useful information for the development of the department tools.+//**This page describes additional useful information for the development of the department tools.**//
  
 === Matplotlib configuration === === Matplotlib configuration ===
  
 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