| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Otherwise the feature is a bit obscure...
|
I love this feature, and didn't know it existed. But, ugh, you sure don't want to use those modifiers in a Jupiter notebook. x cuts the current cell, even clearly using the plot GUI. Not even sure where to report that or what to do about it, other than change my rcParam... |
Sorry, something went wrong.
There was a problem hiding this comment.
tooltip doesn't change for macosx... I think it also has to change in _macosx.m (line 1161)
Sorry, something went wrong.
|
Let's see whether I can manage to make the osx backend also use the tooltips from the base class... |
Sorry, something went wrong.
|
I don't think so: File "testSimple.py", line 5, in <module>
fig, ax = plt.subplots()
File "/Users/jklymak/matplotlib/lib/matplotlib/cbook/deprecation.py", line 450, in wrapper
return func(*args, **kwargs)
File "/Users/jklymak/matplotlib/lib/matplotlib/pyplot.py", line 1270, in subplots
fig = figure(**fig_kw)
File "/Users/jklymak/matplotlib/lib/matplotlib/pyplot.py", line 670, in figure
figManager = new_figure_manager(num, figsize=figsize,
File "/Users/jklymak/matplotlib/lib/matplotlib/pyplot.py", line 298, in new_figure_manager
return _backend_mod.new_figure_manager(*args, **kwargs)
File "/Users/jklymak/matplotlib/lib/matplotlib/backend_bases.py", line 3483, in new_figure_manager
return cls.new_figure_manager_given_figure(num, fig)
File "/Users/jklymak/matplotlib/lib/matplotlib/backend_bases.py", line 3489, in new_figure_manager_given_figure
manager = cls.FigureManager(canvas, num)
File "/Users/jklymak/matplotlib/lib/matplotlib/backends/backend_macosx.py", line 98, in __init__
self.toolbar = NavigationToolbar2Mac(canvas)
File "/Users/jklymak/matplotlib/lib/matplotlib/backends/backend_macosx.py", line 120, in __init__
tuple(str(data_path / image_name) + ".pdf"
File "/Users/jklymak/matplotlib/lib/matplotlib/backends/backend_macosx.py", line 120, in <genexpr>
tuple(str(data_path / image_name) + ".pdf"
TypeError: unsupported operand type(s) for /: 'PosixPath' and 'NoneType'
|
Sorry, something went wrong.
|
Well I can't actually test macosx code locally, I was just going to abuse CI (which does test instantiating a macosx window) to iterate until either it works or I give up... |
Sorry, something went wrong.
|
ha ha. New version segfaults. |
Sorry, something went wrong.
|
Did you recompile? CI seems happy. (I would be amazed to have been able to write the extension code right on the first try, though...) |
Sorry, something went wrong.
|
Yes, I did recompile after cleaning out the build directory. Not sure what is wrong. |
Sorry, something went wrong.
|
Travis seg faults as well... |
Sorry, something went wrong.
|
Yup, missed a change... looks like travis is happy now (for real). |
Sorry, something went wrong.
|
Works! |
Sorry, something went wrong.
…687-on-v3.3.x Backport PR #17687 on branch v3.3.x (Mention keyboard modifiers in toolbar tooltip texts.)
| Back | FazBrowse Home | New Git URL |
Otherwise the feature is a bit obscure... Closes #17658.
(The newline in the tooltip works at least with qt/wx/tk/gtk (but wx needs #17686 too), can't test macos locally.)
PR Summary
PR Checklist