PlotCanvas and ScrollLeft

Hello,
‘PlotCanvas’ object has no attribute ‘ScrollLeft’.
Could you add a function like ScrollLeft’ near ScrollRight’

def ScrollLeft(self, units):
    """Move view right number of axis units."""
    self.last_PointLabel = None  # reset pointLabel
    if self.last_draw is not None:
        graphics, xAxis, yAxis = self.last_draw
        xAxis = (xAxis[0] - units, xAxis[1] - units)
        self._Draw(graphics, xAxis, yAxis)

Thanks a lot

some wheels are here
https://sourceforge.net/projects/pcpu/files/Python3%20ubuntu%20amd64/noble/

1 Like

Hello @philippe_DALET. Thank you for this suggestion. I have created a pull request at Add ScrollLeft and ScrollDown to PlotCanvas to complement already-ext… by jmoraleda · Pull Request #2795 · wxWidgets/Phoenix · GitHub

1 Like

Thanks a lot
Philippe