We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the current master, running:
s = hs.signals.Signal(np.arange(1000).reshape(100,10)) s_i = s.integrate_in_range() # Select some area s_i.plot()
Gives the error:
<ipython-input-21-d328d94f2a72> in <module>() ----> 1 s_i.plot() /home/magnunor/Documents/hyperspy/development/hyperspy/signal.py in plot(self, navigator, axes_manager, **kwargs) 3342 3343 self._plot.plot(**kwargs) -> 3344 self.events.data_changed.connect(self.update_plot, []) 3345 if self._plot.signal_plot: 3346 self._plot.signal_plot.events.closed.connect( /home/magnunor/Documents/hyperspy/development/hyperspy/events.py in connect(self, function, kwargs) 307 if function in self.connected: 308 raise ValueError("Function %s already connected to %s." % --> 309 (function, self)) 310 if kwargs == 'auto': 311 spec = inspect.signature(function) ValueError: Function <bound method Signal.update_plot of <Signal, title: , dimensions: (10|)>> already connected to <hyperspy.events.Event: Event that triggers when the data has changed: {<bound method Signal.update_plot of <Signal, title: , dimensions: (10|)>>}>
The plot still appears, but the Error message is not so nice.
The text was updated successfully, but these errors were encountered:
I keep getting this error on Mac as well, very often when doing things with plots of convoluted models.
Sorry, something went wrong.
Fixed in #2631.
Successfully merging a pull request may close this issue.
In the current master, running:
Gives the error:
The plot still appears, but the Error message is not so nice.
The text was updated successfully, but these errors were encountered: