Skip to content
New issue

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

wx.lib.plot scrollbars do not show ever #1428

Closed
kurisutsukato opened this issue Nov 6, 2019 · 1 comment · Fixed by #1441
Closed

wx.lib.plot scrollbars do not show ever #1428

kurisutsukato opened this issue Nov 6, 2019 · 1 comment · Fixed by #1441

Comments

@kurisutsukato
Copy link

@kurisutsukato kurisutsukato commented Nov 6, 2019

platform: all
wxPython Version & source: 4.0.3 pypi
Python Version & source: 2.7

The scrollbars of a wx.lib.plot.PlotCanvas are not shown ever:

The issues can be observed in the demo or by running the following code.

from wx.lib.plot import PlotCanvas, PlotGraphics, PolyLine
import wx
import numpy as np

app = wx.App()
f = wx.Frame(None)
canvas = PlotCanvas(f)
f.Fit()
f.Show()

x = np.linspace(0,10,100)
y = x**2

line = PolyLine(np.array([x,y]).T)
pg = PlotGraphics([line])
canvas.Draw(pg)
canvas.showScrollbars = True
canvas.enableZoom = True

app.MainLoop()
@kurisutsukato kurisutsukato changed the title wx.lib.plot scrollbars wx.lib.plot scrollbars do not show ever Nov 6, 2019
@RobinD42
Copy link
Member

@RobinD42 RobinD42 commented Apr 24, 2020

This issue has been mentioned on Discuss wxPython. There might be relevant details there:

https://discuss.wxpython.org/t/wxpython-4-1-0-released/34564/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants