Converted the Plot workbench into a module

This commit is contained in:
Jose Luis Cercos-Pita
2021-08-17 19:01:03 +02:00
parent d34a283329
commit b7d06844c9
108 changed files with 6 additions and 22471 deletions

View File

@@ -36,11 +36,7 @@ try:
from matplotlib.figure import Figure
except ImportError:
msg = PySide.QtGui.QApplication.translate(
"plot_console",
"matplotlib not found, so Plot module can not be loaded",
None)
FreeCAD.Console.PrintMessage(msg + '\n')
FreeCAD.Console.PrintWarning('matplotlib not found, so Plot module can not be loaded\n')
raise ImportError("matplotlib not installed")