Skip to content

Conversation

lukelbd
Copy link
Collaborator

@lukelbd lukelbd commented Jan 10, 2020

This repairs issues displaying ListedColormaps (i.e. color cycles) with show_cycles where colors are omitted and color levels are inordinately small/large. Instead of using imshow, we just use colorbar.

It is accomplished by passing loc='_fill' to the command. In the future I may expose this option to users (e.g. with fill=True) so they can "fill" an arbitrary axes with ax.colorbar(fill=True) but retain proplot's colorbar_wrapper features.

@lukelbd lukelbd merged commit e85e94b into master Jan 10, 2020
@lukelbd lukelbd deleted the show-cmaps-cycles-fixes branch January 10, 2020 02:40
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.

1 participant