Add Quiver and Streamline Functions#222
Conversation
Quiver function plots velocity vectors and Streamline function plots streamlines with directional arrows
plotly/tools.py
Outdated
There was a problem hiding this comment.
we can't make numpy a dependency. check out how we do "protected" imports of pandas to get around this
There was a problem hiding this comment.
alternatively, rewrite the numpy functionality in pure python!
clean up
draft of tests
Quiver: can plot 1 arrow
There was a problem hiding this comment.
nice job on all the examples \o/
|
@cldougl Got some more comments for ya! The highest-priority stuff is related to test coverage. Note, I'm pretty sure this isn't being run by our tests on Circle. Maybe because it's a PR from your fork? That seems strange though... At any rate, once it gets merged in, you might need to update with another PR if master is failing. |
There was a problem hiding this comment.
docstring 🐶 says: sometimes it's helpful to give little "titles" to these examples: https://github.com/plotly/python-api/blob/master/plotly/grid_objs/grid_objs.py#L29-L40
So, for yours, it might be:
Example 1: Trivial quiverExample 2: Quiver plot using meshgridExample 3: Styling the quiver plot
Quiver function plots velocity vectors and Streamline function plots
streamlines with directional arrows