Skip to content

Commit ffb5461

Browse files
committed
Don't double-strike axis artist Ticks.
1 parent bcd41e4 commit ffb5461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/axisartist/axis_artist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def draw(self, renderer):
328328

329329
for loc, angle in self.locs_angles:
330330
marker_rotation.rotate_deg(angle+add_angle)
331-
locs = path_trans.transform_non_affine(np.array([loc, loc]))
331+
locs = path_trans.transform_non_affine([loc])
332332
renderer.draw_markers(gc, self._tickvert_path, marker_transform,
333333
Path(locs), path_trans.get_affine())
334334
marker_rotation.clear()

0 commit comments

Comments
 (0)