Closed
Description
Documentation Link
Problem
In this link I provide, I found some part of the code in latest matplotlib version not work(3.5.x). This part works for 3.2.1, but not work now, while the latest document hasn't been changed.
Code as below, as you see, here set_color method for Line2D object not work actually, with the ticklines still being black rather green
for line in ax1.yaxis.get_ticklines: line.set_color('tab:green')
Suggested improvement
Change this line from line.set_color('tab:green')
to line.set_markeredgecolor("tab:green")