Skip to content

Conversation

oscargus
Copy link
Member

@oscargus oscargus commented Sep 6, 2023

PR summary

PR checklist

image to.
hsv_max_sat : number, default: 0
The maximum saturation value that the *intensity* map can shift the output
image to.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not know enough about HSV saturation, but it seems a bit "weird" that the min value is larger than the max value...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does seem odd, but the blend_hsv function docstring below says:

The default extremes are
chose so that completely shaded points are nearly black (s = 1, v = 0)
and completely illuminated points are nearly white (s = 0, v = 1).

So, I think this is expected although unintuitive at first glance.

@oscargus oscargus added Documentation: API files in lib/ and doc/api and removed Documentation labels Sep 6, 2023
image to.
hsv_max_sat : number, default: 0
The maximum saturation value that the *intensity* map can shift the output
image to.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does seem odd, but the blend_hsv function docstring below says:

The default extremes are
chose so that completely shaded points are nearly black (s = 1, v = 0)
and completely illuminated points are nearly white (s = 0, v = 1).

So, I think this is expected although unintuitive at first glance.

@ksunden ksunden added this to the v3.8.0 milestone Sep 12, 2023
@ksunden ksunden merged commit 8c94cd2 into matplotlib:main Sep 12, 2023
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Sep 12, 2023
@oscargus oscargus deleted the velindoc branch September 12, 2023 19:05
oscargus added a commit that referenced this pull request Sep 12, 2023
…705-on-v3.8.x

Backport PR #26705 on branch v3.8.x ([Doc] Small fixes found by velin)
@ksunden ksunden mentioned this pull request Sep 15, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: API files in lib/ and doc/api
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants