Salome HOME
Merge Python 3 porting.
[modules/gui.git] / tools / CurvePlot / src / python / controller / __init__.py
index fd0b521e3c6415bbdc6d002946ab765605c0f04d..62d412f2d632bb892c6ba1a46c09a5c2392f994b 100644 (file)
@@ -10,11 +10,11 @@ try:
   import matplotlib
   matplotlib.use('Qt4Agg')
   import matplotlib.pyplot as plt  # must come after the PySide/PyQt4 switch!
-  plt.rcParams['font.sans-serif'].insert(0, u"DejaVu Sans")
+  plt.rcParams['font.sans-serif'].insert(0, "DejaVu Sans")
 except:
-  print "Warning: could not switch matplotlib to 'Qt4agg' backend. Some characters might be displayed improperly!"
+  print("Warning: could not switch matplotlib to 'Qt4agg' backend. Some characters might be displayed improperly!")
 
-from PlotController import PlotController
+from .PlotController import PlotController
 from TableModel import TableModel
 from CurveModel import CurveModel
 from PlotManager import PlotManager