'c' Keyword for color not working with latest IPython 3.0.0

Dear all,

I have tried both latest Anaconda and WinPython in Windows 7, 64-bit
system, with Python 3.4 64-bit, and both run into this issue:

1) Open up a new IPython QtConsole (version 3.0.0), and make sure
matplotlib version is 1.4.3
2) It doesn't matter which backend you are using. Do:

import matplotlib.pyplot as plt
plt.plot(range(5), c='r')

3) The default color blue showed up, rather than red.

Could anyone please help me with this? Can you repeat the error that I see here?

Thanks!

Shawn

···

--
Yuxiang "Shawn" Wang
Gerling Research Lab
University of Virginia
yw5aj@...809...
+1 (434) 284-0836
https://sites.google.com/a/virginia.edu/yw5aj/

This bug has already been fixed in the source.

The work around for now is to use the full name color='r' instead of the alais ‘c’.

Tom

···

On Mon, Mar 30, 2015 at 11:06 PM Yuxiang Wang <yw5aj@…809…> wrote:

Dear all,

I have tried both latest Anaconda and WinPython in Windows 7, 64-bit

system, with Python 3.4 64-bit, and both run into this issue:

  1. Open up a new IPython QtConsole (version 3.0.0), and make sure

matplotlib version is 1.4.3

  1. It doesn’t matter which backend you are using. Do:

import matplotlib.pyplot as plt

plt.plot(range(5), c='r')

  1. The default color blue showed up, rather than red.

Could anyone please help me with this? Can you repeat the error that I see here?

Thanks!

Shawn

Yuxiang “Shawn” Wang

Gerling Research Lab

University of Virginia

yw5aj@…809…

+1 (434) 284-0836

https://sites.google.com/a/virginia.edu/yw5aj/


Dive into the World of Parallel Programming The Go Parallel Website, sponsored

by Intel and developed in partnership with Slashdot Media, is your hub for all

things parallel software development, from weekly thought leadership blogs to

news, videos, case studies, tutorials and more. Take a look and join the

conversation now. http://goparallel.sourceforge.net/


Matplotlib-users mailing list

Matplotlib-users@…1735…sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users