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

Unable to run ScrollingPlot example #4988

Closed
wakatana opened this issue Jun 23, 2015 · 3 comments
Closed

Unable to run ScrollingPlot example #4988

wakatana opened this issue Jun 23, 2015 · 3 comments
Labels
invalid Can't be reproduced, or is not actionable

Comments

@wakatana
Copy link

Following example http://wiki.scipy.org/Cookbook/Matplotlib/ScrollingPlot?action=show throws following error:
Traceback (most recent call last):
File "scrollingPlot.py", line 88, in
app = MyApp()
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in init
self._BootstrapApp()
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
return core.PyApp__BootstrapApp(_args, *_kwargs)
File "scrollingPlot.py", line 82, in OnInit
self.frame = MyFrame(parent=None,id=-1)
File "scrollingPlot.py", line 21, in init
self.scroll_range)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 11226, in SetScrollbar
return core.Window_SetScrollbar(_args, *_kwargs)
wx._core.PyAssertionError: C++ assertion "sb" failed at ../src/gtk/window.cpp(4754) in SetScrollbar(): this window is not scrollable

The discussion is also on SO http://stackoverflow.com/questions/31001713/plotting-the-data-with-scrollable-x-time-horizontal-axis-on-linux

@rgommers
Copy link
Member

@wakatana this is about Matplotlib, not Scipy. So you'll want to report this at https://github.com/matplotlib/matplotlib.

@rgommers rgommers added the invalid Can't be reproduced, or is not actionable label Jun 23, 2015
@rgommers
Copy link
Member

By the way, if it turns out that it's the example that needs editing because it is outdated instead of an actual Matplotlib or WxPython bug, and none of the Matplotlib devs have edit rights on that page, then feel free to ping me here.

@wakatana
Copy link
Author

@rgommers I've opened the issue on matplotlib matplotlib/matplotlib#4552

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Can't be reproduced, or is not actionable
Projects
None yet
Development

No branches or pull requests

2 participants