Converted the Plot workbench into a module
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user