Exemple #1
0
 def setUp(self):
     context = PlottingContext()
     self.subplot = subplot(context)
     self.subplot.canvas.draw = mock.MagicMock()
 def setUp(self):
     context = PlottingContext()
     self.widget = MultiPlotWidget(context)
Exemple #3
0
 def setUp(self):
     self.context = PlottingContext()
Exemple #4
0
 def setUp(self):
     self._qapp = mock_widget.mockQapp()
     context = PlottingContext()
     self.subplot = subplot(context)
     self.subplot.canvas.draw = mock.MagicMock()
 def setUp(self):
     self._qapp = mock_widget.mockQapp()
     context = PlottingContext()
     self.widget = MultiPlotWidget(context)