Skip to content
New issue

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

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add scale_fill_continuous example #22

Merged
merged 3 commits into from
Jun 26, 2024
Merged

Conversation

isabelizimm
Copy link
Contributor

Here is a small example for scale_fill_continuous()!

@has2k1
Copy link
Owner

has2k1 commented Apr 25, 2024

Great. Let's touch it up and have it contribute to the gallery.

  1. Show a sneak-pick of the data faithfuld.head()
  2. Avoid the variable (v) so that all the plotting code is visible in the executed cell.
  3. Create a header (anywhere above the cell that creates the gallery image) that will be the title of the plot in the gallery. e.g. Annotated Heatmap
  4. For the output that appears in the gallery, we can use any of the other perceptually uniform colormaps. Probably plasma or cividis, the others may have so much black! And, use coord_cartesian(expand=False) to crop out the surrounding space.
  5. Finally, to get it in the tiles section of the gallery, add this # Gallery, tiles comment to the top of the code cell.

@has2k1 has2k1 merged commit 24c1295 into has2k1:main Jun 26, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants