Skip to content

Commit

Permalink
Update tools.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoyama010 committed Nov 23, 2021
1 parent 8c9f1f2 commit 00d9f46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyvista/plotting/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ def opacity_transfer_function(mapping, n_colors, interpolate=True,
available. Options are ('linear', 'nearest', 'zero', 'slinear',
'quadratic', 'cubic', 'previous', 'next'.
Example
-------
Examples
--------
>>> import pyvista as pv
>>> # Fetch the `sigmoid` mapping between 0 and 255
>>> tf = pv.opacity_transfer_function("sigmoid", 256)
Expand Down

0 comments on commit 00d9f46

Please sign in to comment.