Skip to content

Commit 9d96715

Browse files
committed
Rework plotting to make use of improved grid handling
1 parent 184062a commit 9d96715

File tree

14 files changed

+1256
-256
lines changed

14 files changed

+1256
-256
lines changed

docs/api/plot.rst

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
emsarray.plot
33
=============
44

5-
.. currentmodule:: emsarray.plot
5+
.. module:: emsarray.plot
66

77
Plotting an entire figure
88
=========================
@@ -36,3 +36,36 @@ Utilities
3636
.. autofunction:: polygons_to_collection
3737
.. autofunction:: bounds_to_extent
3838
.. autofunction:: make_plot_title
39+
40+
Artist functions
41+
================
42+
43+
.. module:: emsarray.plot.artists
44+
45+
These functions will make a matplotlib :class:`~matplotlib.artist.Artist`
46+
that can plot variables directly from a support emsarray dataset.
47+
These functions and the associated artists can be imported from
48+
:mod:`emsarray.plot.artists`.
49+
50+
.. autofunction:: make_polygon_scalar_collection
51+
.. autofunction:: make_polygon_vector_quiver
52+
.. autofunction:: make_polygon_contour
53+
.. autofunction:: make_node_scalar_artist
54+
55+
Artists
56+
=======
57+
58+
.. autoclass:: GridArtist
59+
:members: set_data_array
60+
61+
.. autoclass:: PolygonScalarCollection
62+
:members: from_grid
63+
64+
.. autoclass:: PolygonVectorQuiver
65+
:members: from_grid
66+
67+
.. autoclass:: PolygonTriContourSet
68+
:members: from_grid
69+
70+
.. autoclass:: NodeTriMesh
71+
:members: from_grid

0 commit comments

Comments
 (0)