Changeset a0f13e6 in sasview for src/sas/qtgui/Plotting/UnitTesting/PlotterTest.py
- Timestamp:
- Mar 29, 2019 1:40:37 PM (6 years ago)
- Children:
- d32a594
- Parents:
- 033b1f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/UnitTesting/PlotterTest.py
r0989bad ra0f13e6 81 81 """ Ensure that Sesans data is plotted in linear cooredinates""" 82 82 data = Data1D(x=[1.0, 2.0, 3.0], 83 y=[ 10.0, 11.0,12.0],83 y=[-10.0, -11.0, -12.0], 84 84 dx=[0.1, 0.2, 0.3], 85 85 dy=[0.1, 0.2, 0.3]) … … 97 97 self.assertEqual(self.plotter.ax.get_xscale(), 'linear') 98 98 self.assertEqual(self.plotter.ax.get_yscale(), 'linear') 99 self.assertEqual( 100 len(self.plotter.data.view.y), 101 len(data.view.y)) 102 self.assertEqual(self.plotter.data.ytransform, "y") 99 103 self.assertTrue(FigureCanvas.draw_idle.called) 100 104
Note: See TracChangeset
for help on using the changeset viewer.