8000 Remove extra commented code · matplotlib/matplotlib@0eb2433 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0eb2433

Browse files
committed
Remove extra commented code
1 parent 3faebcf commit 0eb2433

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

examples/subplots_axes_and_figures/axes_zoom_effect.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def connect_bbox(bbox1, bbox2,
3232
bbox_patch2 = BboxPatch(bbox2, **prop_patches)
3333

3434
p = BboxConnectorPatch(bbox1, bbox2,
35-
# loc1a=3, loc2a=2, loc1b=4, loc2b=1,
3635
loc1a=loc1a, loc2a=loc2a, loc1b=loc1b, loc2b=loc2b,
3736
clip_on=False,
3837
**prop_patches)

examples/text_labels_and_annotations/annotation_demo.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@
249249
xy=(2., -1), xycoords='data',
250250
xytext=(-100, 60), textcoords='offset points',
251251
size=20,
252-
# bbox=dict(boxstyle="round", fc="0.8"),
253252
arrowprops=dict(arrowstyle="fancy",
254253
fc="0.6", ec="none",
255254
patchB=el,
@@ -258,7 +257,6 @@
258257
xy=(2., -1), xycoords='data',
259258
xytext=(100, 60), textcoords='offset points',
260259
size=20,
261-
# bbox=dict(boxstyle="round", fc="0.8"),
262260
arrowprops=dict(arrowstyle="simple",
263261
fc="0.6", ec="none",
264262
patchB=el,
@@ -267,7 +265,6 @@
267265
xy=(2., -1), xycoords='data',
268266
xytext=(-100, -100), textcoords='offset points',
269267
size=20,
270-
# bbox=dict(boxstyle="round", fc="0.8"),
271268
arrowprops=dict(arrowstyle="wedge,tail_width=0.7",
272269
fc="0.6", ec="none",
273270
patchB=el,

lib/matplotlib/quiver.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,8 @@ def __init__(self, Q, X, Y, U, label,
304304
self.fontproperties = fontproperties or dict()
305305
self.kw = kwargs
306306
_fp = self.fontproperties
307-
# boxprops = dict(facecolor='red')
308307
self.text = mtext.Text(
309-
text=label, # bbox=boxprops,
308+
text=label,
310309
horizontalalignment=self.halign[self.labelpos],
311310
verticalalignment=self.valign[self.labelpos],
312311
fontproperties=font_manager.FontProperties._from_any(_fp))

lib/mpl_toolkits/tests/test_axes_grid1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ def test_inset_locator():
124124
ny, nx = Z.shape
125125
Z2[30:30+ny, 30:30+nx] = Z
126126

127-
# extent = [-3, 4, -4, 3]
128127
ax.imshow(Z2, extent=extent, interpolation="nearest",
129128
origin="lower")
130129

@@ -166,7 +165,6 @@ def test_inset_axes():
166165
ny, nx = Z.shape
167166
Z2[30:30+ny, 30:30+nx] = Z
168167

169-
# extent = [-3, 4, -4, 3]
170168
ax.imshow(Z2, extent=extent, interpolation="nearest",
171169
origin="lower")
172170

0 commit comments

Comments
 (0)
0