Skip to content

Commit 62d94e0

Browse files
committed
Codacy complaints
1 parent cebc74e commit 62d94e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

proplot/subplots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,7 @@ def draw(self, renderer):
15311531
self._align_axislabels(True)
15321532
canvas = getattr(self, 'canvas', None)
15331533
if (hasattr(canvas, 'get_renderer')
1534-
and not isinstance(canvas, FigureCanvasMac)):
1534+
and not isinstance(canvas, FigureCanvasMac)):
15351535
renderer = canvas.get_renderer()
15361536
canvas.renderer = renderer
15371537
return super().draw(renderer)

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323

2424
if exists('LICENSE.txt'):
2525
with open('LICENSE.txt') as f:
26-
license = f.read()
26+
license_text = f.read()
2727
else:
28-
license = ''
28+
license_text = ''
2929

3030
setup(
3131
url = 'https://lukelbd.github.io/proplot',
@@ -46,7 +46,7 @@
4646
include_package_data = True, # use MANIFEST.in
4747
classifiers = classifiers,
4848
install_requires = install_req,
49-
license = license,
49+
license = license_text,
5050
description = 'A comprehensive wrapper for making beautiful, publication-quality graphics.',
5151
long_description = long_description,
5252
)

0 commit comments

Comments
 (0)