get/set current index of color cycle, how to

get current line cycle (color cycle), how to

Does anyone know how to get and set the index in the line color cycle for a
particular line? I’m plotting a collection of lines on 2 axes using the
default line colors. After I finish plotting on the 1st axis, I then want to
plot on the 2nd axis and resume where the line color left off in the 1st
axis. but so far it resets to the first line color in the color cycle.

LMK if anyone knows how to get and set the index of the color cycling. I’ve
been digging on the website but didn’t have much luck.

Thanks,
Krishna

···

--
View this message in context: http://old.nabble.com/get-set-current-index-of-color-cycle%2C-how-to-tp27864297p27864297.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

I figured it out, found answer on this site:
http://old.nabble.com/Automatically-changing-line-colors-td893139.html#a949316
http://old.nabble.com/Automatically-changing-line-colors-td893139.html#a949316

···

--
View this message in context: http://old.nabble.com/get-set-current-index-of-color-cycle%2C-how-to-tp27864297p27865867.html
Sent from the matplotlib - users mailing list archive at Nabble.com.