Re: [Matplotlib-users] install on mac osx 10.7.5?

2014-02-18 Thread Gary Pajer
I've tried various ways of getting matplotlib on my OS X 10.7.5, and have it work with numpy, etc. The approach that worked most smoothly was using the conda package manager from contiuum analytics. At first I installed the complete anaconda distribution

Re: [Matplotlib-users] colorbllind problem

2014-02-18 Thread Paul Hobson
Try specifying the color explicitly from the palette object: import numpy as np import matplotlib.pyplot as plt import pandas import seaborn myPalet1 = seaborn.color_palette("RdPu_r", 10) seaborn.set_color_palette(myPalet1) x = np.linspace(start=0, stop=5, num=100) fig, ax = plt.subplots() for n,

Re: [Matplotlib-users] colorbllind problem

2014-02-18 Thread Gabriele Brambilla
Hi, I get right one plot, but this other one works in a strange way: it restarts to give the darker color to a line. I would like to assign the colors in the right order so the colorblind guy that works with me could see the differences like a light growing. (I attach the image) do you understand

Re: [Matplotlib-users] colorbllind problem

2014-02-18 Thread Gabriele Brambilla
it works, thank you. Using a color palette that changes only the intensity/light of the color (all blue lines) helps. Gabriele 2014-02-17 20:57 GMT-05:00 Paul Hobson : > Untested, of course, but I would do something like this: > > import matplotlib.pyplot as plt > import seaborn > > N = len(As