Skip to content

Makes PowerNorm consistent with other norms#30862

Open
Sreekanth-M8 wants to merge 1 commit intomatplotlib:mainfrom
Sreekanth-M8:PowerTransform
Open

Makes PowerNorm consistent with other norms#30862
Sreekanth-M8 wants to merge 1 commit intomatplotlib:mainfrom
Sreekanth-M8:PowerTransform

Conversation

@Sreekanth-M8
Copy link
Copy Markdown

@Sreekanth-M8 Sreekanth-M8 commented Dec 15, 2025

PR summary

closes #20355

Added PowerTransform and PowerScale, to make PowerNorm using the make_norm_from_scale decorator.

In PowerNorm the expected behavior is normalizing before transformation, unlike other scales which transform and then normalize. So I added a optional boolean argument norm_before_trf to make_norm_from_scale which controls whether normalization occurs before transformation or not.

PR checklist

@Sreekanth-M8
Copy link
Copy Markdown
Author

@jklymak @anntzer Ping for review

@Sreekanth-M8
Copy link
Copy Markdown
Author

@timhoffm Ping for review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PowerNorm should have a scale...

1 participant