Skip to content

Commit 5b09ab4

Browse files
committed
removed legend
added border
1 parent 8f71e56 commit 5b09ab4

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed
-10.4 KB
Loading
-10.3 KB
Loading

lib/matplotlib/tests/test_path.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,8 +280,7 @@ def test_xkcd_artist():
280280
rcParams['path.sketch'] = (2, 120, 40)
281281
artist.Artist().set_sketch_params(seed=19680801)
282282
fig, ax = plt.subplots()
283-
ax.pie([10, 20, 30, 40])
284-
ax.legend(['', '', '', ''], loc=2)
283+
ax.pie([10, 20, 30, 40], wedgeprops={'edgecolor': 'black'})
285284
ax.plot()
286285

287286

@@ -291,8 +290,7 @@ def test_xkcd_seed():
291290
rcParams['path.sketch'] = (2, 120, 40)
292291
rcParams['path.sketch_seed'] = 2000
293292
fig, ax = plt.subplots()
294-
ax.pie([10, 20, 30, 40])
295-
ax.legend(['', '', '', ''], loc=2)
293+
ax.pie([10, 20, 30, 40], wedgeprops={'edgecolor': 'black'})
296294
ax.plot()
297295

298296

0 commit comments

Comments
 (0)