Skip to content

Commit

Permalink
Avoid passing both vmin/vmax and norm kwargs to pcolor- methods (#998)
Browse files Browse the repository at this point in the history
closes #971
  • Loading branch information
ksunden committed Mar 17, 2021
1 parent 2cbb2ee commit 25422da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).

## [Unreleased]

### Fixed
- Avoid passing both `vmin/vmax` and `norm` to `pcolor*` methods

## [3.3.3]

## Added
Expand Down
2 changes: 2 additions & 0 deletions WrightTools/artists/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ def _apply_labels(
self.set_ylabel(ylabel, fontsize=18)

def _parse_limits(self, zi=None, data=None, channel_index=None, dynamic_range=False, **kwargs):
if "norm" in kwargs:
return kwargs
if zi is not None:
if "levels" in kwargs.keys():
levels = kwargs["levels"]
Expand Down

0 comments on commit 25422da

Please sign in to comment.