@@ -81,8 +81,7 @@ def __init__(self, adir, v_intervalx, d_intervalx, axes, *args,
81
81
'ha' : 'center' },
82
82
'tick' : {'inward_factor' : 0.2 ,
83
83
'outward_factor' : 0.1 ,
84
- 'linewidth' : rcParams ['lines.linewidth' ],
85
- 'color' : 'k' },
84
+ 'linewidth' : rcParams ['lines.linewidth' ]},
86
85
'axisline' : {'linewidth' : 0.75 ,
87
86
'color' : (0 , 0 , 0 , 1 )},
88
87
'grid' : {'color' : (0.9 , 0.9 , 0.9 , 1 ),
@@ -97,10 +96,7 @@ def __init__(self, adir, v_intervalx, d_intervalx, axes, *args,
97
96
'outward_factor' : 0.1 ,
98
97
'linewidth' : rcParams .get (
99
98
adir + 'tick.major.width' ,
100
- rcParams ['xtick.major.width' ]),
101
- 'color' : rcParams .get (
102
- adir + 'tick.color' ,
103
- rcParams ['xtick.color' ])},
99
+ rcParams ['xtick.major.width' ])},
104
100
'axisline' : {'linewidth' : rcParams ['axes.linewidth' ],
105
101
'color' : rcParams ['axes.edgecolor' ]},
106
102
'grid' : {'color' : rcParams ['grid.color' ],
@@ -265,7 +261,7 @@ def draw(self, renderer):
265
261
dx , dy = (self .axes .transAxes .transform ([peparray [0 :2 , 1 ]]) -
266
262
self .axes .transAxes .transform ([peparray [0 :2 , 0 ]]))[0 ]
267
263
268
- lxyz = 0.5 * (edgep1 + edgep2 )
264
+ lxyz = 0.5 * (edgep1 + edgep2 )
269
265
270
266
# A rough estimate; points are ambiguous since 3D plots rotate
271
267
ax_scale = self .axes .bbox .size / self .figure .bbox .size
@@ -391,7 +387,6 @@ def draw(self, renderer):
391
387
ticksign = - 1
392
388
393
389
for tick in ticks :
394
-
395
390
# Get tick line positions
396
391
pos = copy .copy (edgep1 )
397
392
pos [index ] = tick .get_loc ()
@@ -420,7 +415,6 @@ def draw(self, renderer):
420
415
421
416
tick_update_position (tick , (x1 , x2 ), (y1 , y2 ), (lx , ly ))
422
417
tick .tick1line .set_linewidth (info ['tick' ]['linewidth' ])
423
- tick .tick1line .set_color (info ['tick' ]['color' ])
424
418
tick .draw (renderer )
425
419
426
420
renderer .close_group ('axis3d' )
0 commit comments