Skip to content

No attribute 'plot_res' #56

@keflavich

Description

@keflavich

During stage 2, I got the following error when hitting 'next'.

Traceback (most recent call last):
  File "/orange/adamginsburg/miniconda3/envs/python39/lib/python3.9/site-packages/matplotlib/cbook/__init__.py", line 287, in process
    func(*args, **kwargs)
  File "/orange/adamginsburg/miniconda3/envs/python39/lib/python3.9/site-packages/matplotlib/widgets.py", line 585, in <lambda>
    return self._observers.connect('changed', lambda val: func(val))
  File "/blue/adamginsburg/adamginsburg/repos/scousepy/scousepy/scousefitter.py", line 721, in update_alpha
    update_plot_model(self,update=True)
  File "/blue/adamginsburg/adamginsburg/repos/scousepy/scousepy/scousefitter.py", line 1160, in update_plot_model
    self.plot_res.remove()
AttributeError: 'ScouseFitter' object has no attribute 'plot_res'

When I restarted, it worked, but this error can apparently happen intermittently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions