Skip to content

Commit

Permalink
Add missing documentation (#285)
Browse files Browse the repository at this point in the history
* Add missing `meshplot` documentation
* Fix docstring for `binary_blobs3d`
  • Loading branch information
stefsmeets authored Jun 7, 2022
1 parent 396fbff commit 0f0e4e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/api.plotting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ These plotting functions are currently available:
Reference
---------

.. autofunction:: linetrianglemeshplot
.. autofunction:: meshplot
.. autofunction:: linemeshplot
.. autofunction:: lineplot
.. autofunction:: trianglemeshplot
.. autofunction:: linetrianglemeshplot
.. autofunction:: lineplot
.. autofunction:: pointsplot
2 changes: 1 addition & 1 deletion nanomesh/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def binary_blobs2d(**kwargs) -> np.ndarray:
return binary_blobs(**kwargs).astype(int)


@doc(dim='3d')
@doc(binary_blobs2d, dim='3d')
def binary_blobs3d(**kwargs) -> np.ndarray:
kwargs.setdefault('length', 50)
kwargs.setdefault('n_dim', 3)
Expand Down

0 comments on commit 0f0e4e1

Please sign in to comment.