Pan and Zoom tools should be configurable (limit to x or y axis only) via UI
See original GitHub issueGetting the warning “UserWarning: PanTool are being repeated” when using the distinct tools “pan” and “xpan”. I would expect there to not be a warning here.
Code to reproduce:
from bokeh.plotting import figure
from bokeh.plotting import show
p = figure(tools='pan,xpan')
p.line([0, 1, 2, 3], [1, 0, 3, 2])
show(p)
Warning message:
[...]\Anaconda2\lib\site-packages\bokeh\plotting\helpers.py:322: UserWarning: PanTool are being repeated
Bokeh info:
>bokeh info
Python version : 3.5.2 |Anaconda custom (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)]
IPython version : 4.0.3
Bokeh version : 0.12.2
BokehJS static path : [...]\Anaconda2\lib\site-packages\bokeh\server\static
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Zoom and pan – amCharts 5 Documentation
An XY chart has two settings that can be used to enable panning: panX and panY . They're both are boolean values, with...
Read more >Zoom and Pan Views, and Select Marks - Tableau Help
Pan a view To pan, do one of the following: Hold down Shift, and then drag across the view. On the view toolbar,...
Read more >Telerik Web Forms Pan and Zoom - RadHtmlChart
Pan and Zoom help end-user to navigate through and zoom in/out the RadHtmlChart. ... X—X axis is locked, i.e., user can pan only...
Read more >Zoom, Pan, and Hover Controls - Plotly
To zoom along only one axis, click and drag near the edges of either one of the axes. Additionally, to zoom-in along both...
Read more >Interactive navigation — Matplotlib 3.2.2 documentation
If you press 'x' or 'y' while panning the motion will be constrained to the x or y axis, respectively. Press the right...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
(Via gitter, bryevdv says)[https://gitter.im/bokeh/bokeh?at=57d568a8cba69fe735046345]:
I would open a new issue (or issues) to be explicit about the particular requirements, because at this point this issue is hard to follow.