Skip to content

Commit 088f78f

Browse files
committed
replaced hash in test_legends2 and corrected pylint error
1 parent cd18166 commit 088f78f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

matplotlib2tikz/legend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def draw_legend(data, obj):
207207
handle.get_color())
208208
data['legend colors'].append('\\addlegendimage{no markers, %s}\n'
209209
% legend_color)
210-
except(AttributeError):
210+
except AttributeError:
211211
data['legend colors'] = []
212212

213213
# Write styles to data

test/test_legends2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ def plot():
3232

3333
def test():
3434
phash = helpers.Phash(plot())
35-
assert phash.phash == '7b447a5a62d4852f', phash.get_details()
35+
assert phash.phash == '7b447a5262d4952f', phash.get_details()
3636
return

0 commit comments

Comments
 (0)