From 77c49a0b203369a78b39dc35e219422b95c960eb Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:49:53 -0400 Subject: [PATCH] chore: Use str() instead of six.text_type() --- leather/axis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/leather/axis.py b/leather/axis.py index fe97242..7e4f9eb 100644 --- a/leather/axis.py +++ b/leather/axis.py @@ -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) @@ -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)