1
C:\Anaconda64\lib\site-packages\matplotlib\__init__.py:872: UserWarning: axes.color_cycle is deprecated and replaced with axes.prop_cycle; please use the latter.
  warnings.warn(self.msg_depr % (key, alt_key))

I am using the latest matplotlib version, but getting the warning above. How to fix it? The soln here suppresses all warnings: How to suppress matplotlib warning?, and that is not what I want

Community
  • 1
  • 1
user308827
  • 21,227
  • 87
  • 254
  • 417
  • 1
    Use `prop_cycle` instead of `color_cycle`, as suggested? – fjarri Jan 28 '16 at 01:09
  • Possible duplicate of [How to suppress matplotlib warning?](http://stackoverflow.com/questions/33792478/how-to-suppress-matplotlib-warning) – Phiter Jan 28 '16 at 01:09
  • @fjarri, I am not using prop_cycle, matplotlib is using it. Phiter, the soln on that page suppresses all warnings. I do not want that. – user308827 Jan 28 '16 at 04:01
  • 1
    From your question it is not really clear how this warning was produced. It would be easier to answer your question if you described your scenario. – fjarri Jan 28 '16 at 04:40

0 Answers0