Changeset 6edd344 in sasview for src/sas/qtgui/Plotting


Ignore:
Timestamp:
Mar 29, 2019 12:11:34 PM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_opencl
Children:
7a1481f
Parents:
c02721c4
Message:

More unit test fixes.

Location:
src/sas/qtgui/Plotting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/Plotter.py

    rb016f17 r6edd344  
    220220        Resize the legend window/font on canvas resize 
    221221        """ 
     222        if not self.showLegend: 
     223            return 
    222224        width = _legendResize(event.width) 
    223225        # resize the legend to follow the canvas width. 
  • src/sas/qtgui/Plotting/UnitTesting/PlotterTest.py

    r0989bad r6edd344  
    409409 
    410410        # Replace data in plot 
    411         self.plotter.replacePlot(1, data2) 
     411        self.plotter.replacePlot("Test name", data2) 
    412412 
    413413        # See that the labels changed 
Note: See TracChangeset for help on using the changeset viewer.