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 new drawing tool functionality #2937

Merged
merged 4 commits into from
Aug 13, 2018
Merged

Add new drawing tool functionality #2937

merged 4 commits into from
Aug 13, 2018

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Aug 10, 2018

This PR adds multiple drawing tool features I recently added to bokeh:

  • Adds num_objects option to limit the number of glyphs that can be drawn

  • Adds show_vertices option on PolyDraw enabling display of and snapping to vertices

  • Adds new FreehandDraw stream

  • Tests will have to wait until we have support for Selenium

  • Add documentation

@philippjfr philippjfr added the type: feature A major new feature label Aug 10, 2018
@philippjfr
Copy link
Member Author

There aren't really any tests I can add here without selenium. I'd very much like to set that up soon but I think we should switch to pytest first, since that will allow us to reuse a lot of bokeh's tooling.

So this is ready to review now.

"Alternatively we can use the ``element`` property to get an Element containing the returned data:"
]
},
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Please clear out the notebook metadata...

@jlstevens
Copy link
Contributor

Now the metadata is cleared from the new notebook, I'm happy to merge. No need to wait on tests as the last commit passed and the removal of the notebook metadata is the only change.

@jlstevens jlstevens merged commit a9a2fed into master Aug 13, 2018
@philippjfr philippjfr added this to the v1.11.0 milestone Nov 5, 2018
@philippjfr philippjfr deleted the draw_tool_enhancements branch November 12, 2018 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A major new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants