Migration from pyms.Display

pymassspec_plot replaces pyms.Display. The latter will eventually deprecated and removed.

pyms.Display also provided a Display class. Its methods were mostly thin wrappers around the functions in this library.

pyms.Display.Display.do_plotting() did the following:

pyms.Display.Display.get_5_largest() was used internally as part of the left click callback. See pymassspec_plot.ClickEventHandler.get_n_largest() for a similar implementation.

§

pyms.Display.Display.onclick() was configured internally as an event callback. The same result can be obtained using the ClickEventHandler class.