10000 Colorbar only tut by patniharshit · Pull Request #8600 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Colorbar only tut #8600

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 29, 2017
Prev Previous commit
Next Next commit
Add double backticks to extendfrac in colorbar_only tutorial
  • Loading branch information
patniharshit committed May 12, 2017
commit 00e7d0f95f32dc58d404871bec058ee9c98efa57
2 changes: 1 addition & 1 deletion tutorials/colors/colorbar_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
#
# Here we illustrate the use of custom length colorbar extensions, used on a
# colorbar with discrete intervals. To make the length of each extension same
# as the length of the interior colors, use extendfrac='auto'.
# as the length of the interior colors, use ``extendfrac='auto'``.
Copy link
Contributor

Choose a reason for hiding this comment

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

actually do you think you could make this triple backticks?

...JK, this PR looks good to me :)


cmap = mpl.colors.ListedColormap(['royalblue', 'cyan',
'yellow', 'orange'])
Expand Down
0