Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b6a703b

Browse files
committed
Fix PEP warnings
1 parent df50224 commit b6a703b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/mpl_toolkits/tests/test_mplot3d.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,6 @@ def test_edge_style(self):
598598
# change the edge color of one voxel
599599
v[max(v.keys())].set_edgecolor('C2')
600600

601-
602601
@image_comparison(
603602
baseline_images=['voxels-named-colors'],
604603
extensions=['png'],
@@ -613,11 +612,10 @@ def test_named_colors(self):
613612
voxels = voxels & ~(x * y * z < 1)
614613
colors = np.zeros((10, 10, 10), dtype=np.object_)
615614
colors.fill('C0')
616-
colors[(x<5) & (y < 5)] = '0.25'
615+
colors[(x < 5) & (y < 5)] = '0.25'
617616
colors[(x + z) < 10] = 'cyan'
618617
ax.voxels(voxels, colors)
619618

620-
621619
@image_comparison(
622620
baseline_images=['voxels-rgb-data'],
623621
extensions=['png'],
@@ -635,7 +633,6 @@ def test_rgb_data(self):
635633
colors[...,2] = z/9.0
636634
ax.voxels(voxels, colors)
637635

638-
639636
@image_comparison(
640637
baseline_images=['voxels-alpha'],
641638
extensions=['png'],

0 commit comments

Comments
 (0)