Skip to content

Commit

Permalink
Merge pull request #62 from BalthasarSchachtner/master
Browse files Browse the repository at this point in the history
fix caption being propagated in scale funtions
  • Loading branch information
ocefpaf authored Jul 13, 2019
2 parents 4e89e88 + 5c58664 commit 96be511
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions branca/colormap.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ def scale(self, vmin=0., vmax=1.):
index=[vmin + (vmax-vmin)*(x-self.vmin)*1./(self.vmax-self.vmin) for x in self.index], # noqa
vmin=vmin,
vmax=vmax,
caption=self.caption,
)


Expand Down Expand Up @@ -417,6 +418,7 @@ def scale(self, vmin=0., vmax=1.):
index=[vmin + (vmax-vmin)*(x-self.vmin)*1./(self.vmax-self.vmin) for x in self.index], # noqa
vmin=vmin,
vmax=vmax,
caption=self.caption,
)


Expand Down

0 comments on commit 96be511

Please sign in to comment.