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

add tool names for constrained pan and zoom #508

Merged
merged 2 commits into from Apr 9, 2014
Merged

Conversation

bryevdv
Copy link
Member

@bryevdv bryevdv commented Apr 9, 2014

And also implement constrained pan and zoom on the js side...

@@ -322,7 +330,7 @@ def _new_xy_plot(x_range=None, y_range=None, plot_width=None, plot_height=None,
elif tool == "object_explorer":
tool_obj = ObjectExplorerTool()
else:
known_tools = "pan, wheel_zoom, box_zoom, save, resize, crosshair, select, previewsave, reset, hover, or embed"
known_tools = "pan, xpan, ypan, wheel_zoom, box_zoom, save, resize, crosshair, select, previewsave, reset, hover, or embed"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't you need to add xwheel_zoom and ywheel_zoom?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@damianavila
Copy link
Contributor

LGTM, except for the missing names in the final html... but we can deal with them later, opened issue about that here: #509

bryevdv added a commit that referenced this pull request Apr 9, 2014
add tool names for constrained pan and zoom
@bryevdv bryevdv merged commit 2485982 into master Apr 9, 2014
@bryevdv bryevdv deleted the zoom-pan-dims branch April 9, 2014 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants