Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ba1b589

Browse filesBrowse files
dstansbytacaswell
andauthored
Fix PowerNorm docstring
Co-authored-by: Thomas A Caswell <tcaswell@gmail.com>
1 parent aecc2db commit ba1b589
Copy full SHA for ba1b589

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/colors.py

Copy file name to clipboardExpand all lines: lib/matplotlib/colors.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1970,7 +1970,7 @@ class PowerNorm(Normalize):
19701970
19711971
\left ( \frac{x - v_{min}}{v_{max} - v_{min}} \right )^{\gamma}
19721972
1973-
For input values below *vmin*, gamma is set to zero.
1973+
For input values below *vmin*, gamma is set to one.
19741974
"""
19751975
def __init__(self, gamma, vmin=None, vmax=None, clip=False):
19761976
super().__init__(vmin, vmax, clip)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.