Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Jul 17, 2019
1 parent e2dbd39 commit f6fe71d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions branca/colormap.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,10 @@ def _repr_html_(self):
[('<line x1="{i}" y1="0" x2="{i}" '
'y2="20" style="stroke:{color};stroke-width:3;" />').format(
i=i*1,
color=self.rgba_hex_str(self.vmin +
(self.vmax-self.vmin)*i/499.))
color=self.rgba_hex_str(
self.vmin +
(self.vmax-self.vmin)*i/499.)
)
for i in range(500)]) +
'<text x="0" y="35">{}</text>'.format(self.vmin) +
'<text x="500" y="35" style="text-anchor:end;">{}</text>'.format(
Expand Down

0 comments on commit f6fe71d

Please sign in to comment.