Skip to content

Commit

Permalink
chore: Use str() instead of six.text_type()
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 23, 2023
1 parent f1fc178 commit 77c49a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions leather/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def to_svg(self, width, height, scale, orient):
)
title.set('text-anchor', 'middle')
title.set('font-family', theme.axis_title_font_family)
title.set('font-size', six.text_type(theme.axis_title_font_size))
title.set('font-size', str(theme.axis_title_font_size))
title.text = self._name

group.append(title)
Expand Down Expand Up @@ -163,7 +163,7 @@ def to_svg(self, width, height, scale, orient):
)
label.set('text-anchor', text_anchor)
label.set('font-family', theme.tick_font_family)
label.set('font-size', six.text_type(theme.tick_font_size))
label.set('font-size', str(theme.tick_font_size))

value = tick_formatter(value, i, tick_count)
label.text = str(value)
Expand Down

0 comments on commit 77c49a0

Please sign in to comment.