Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

PiecewiseLinearNorm#5061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
Changes from1 commit
Commits
Show all changes
16 commits
Select commitHold shift + click to select a range
05c1b76
ENH: Add OffsetNorm and tests
phobsonNov 27, 2014
8ad54f3
fix OffsetNorm docstring to numpydoc spec
phobsonMar 30, 2015
03e506c
OffsetNorm blurb in whats_new
phobsonMar 30, 2015
04ea107
removed OffsetNorm.inverse method
phobsonJun 6, 2015
62c9efc
attempting to create a baseline image
phobsonJun 6, 2015
d95db3c
fix bad indexing when returning a scalar
phobsonJun 8, 2015
3cc84a6
the real test image
phobsonJun 8, 2015
47c447a
refactor tests a bit to handle non-invertable Norms
phobsonJun 8, 2015
36042b6
OffsetNorm -> PiecewiseLinearNorm
dopplershiftJul 11, 2015
56cbae2
Propagate mask from input data
jkseppanSep 3, 2015
1d1ff98
Remove unused clip parameter
jkseppanSep 3, 2015
14b6837
Use process_value in PiecewiseLinearNorm
jkseppanSep 3, 2015
a8d4956
Return a scalar when passed in a scalar
jkseppanSep 3, 2015
31bfd2a
Return 0.5 for vcenter == vmax
jkseppanSep 3, 2015
a68fff3
pep8 fixes
jkseppanSep 3, 2015
3293971
PiecewiseLinearNorm
OceanWolfSep 14, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
pep8 fixes
  • Loading branch information
@jkseppan@OceanWolf
jkseppan authored andOceanWolf committedSep 13, 2015
commita68fff34d76a12bbaaa1eb9c9acade2ed4e5d7fd
2 changes: 2 additions & 0 deletionslib/matplotlib/tests/test_colors.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -231,6 +231,7 @@ class BasePiecewiseLinearNorm(BaseNormMixin):
normclass = mcolors.PiecewiseLinearNorm
test_inverse = False


class test_PiecewiseLinearNorm_Even(BasePiecewiseLinearNorm):
def setup(self):
self.norm = self.normclass(vmin=-1, vcenter=0, vmax=4)
Expand DownExpand Up@@ -363,6 +364,7 @@ def test_offset_norm_img():
img2 = ax2.imshow(Z, cmap=cmap, norm=norm)
cbar2 = fig.colorbar(img2, ax=ax2)


def test_SymLogNorm():
"""
Test SymLogNorm behavior
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp