Skip to content

Quick plotting from Data Explorer fails #3746

@rozyczko

Description

@rozyczko

Describe the bug
Quick plot of 1D datasets fails with

ERROR : sas.qtgui.Perspectives.Fitting.FittingWidget (FittingWidget.py:148) :: Traceback (most recent call last):
  File "C:\projects\sas\sasview\src\sas\qtgui\MainWindow\DataExplorer.py", line 1726, in quickDataPlot
    self.new_plot = globals()[method_name](self, quickplot=True)
                    ~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'Plotter'

To Reproduce
Steps to reproduce the behavior:

  1. Load cyl_400_20.txt
  2. Right-click on the file in the Data Explorer
  3. Choose "Quick Plot"
  4. See error

SasView version (please complete the following information):

  • Version: main branch

Operating system (please complete the following information):

  • OS: Win 10

Installation method (please complete the following information):

  • Installed: pip install -e .

Metadata

Metadata

Assignees

No one assigned

    Labels

    DefectBug or undesirable behaviour

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions