|
From: Ryan N. <rne...@gm...> - 2014-12-08 20:38:58
|
Update. This is a problem also in Anaconda Py3.4 with MPL 1.4.2, but it works without a problem on MPL 1.4.0. Ryan On Mon, Dec 8, 2014 at 12:15 PM, Ryan Nelson <rne...@gm...> wrote: > Hello all, > > I'm having an issue with fill_between. It seems that setting the keyword > `linewidth=0` removes the entire patch, rather than the just the bounding > lines. Example: > > #### > import numpy as np > import matplotlib.pyplot as plt > > x = np.linspace(0, 2*np.pi, 1000) > y = np.sin(x) > > plt.fill_between(x, y-0.1, y+0.1, linewidth=0) # Setting this !=0 works > fine > plt.plot(x, y, 'k') > plt.show() > #### > > I'm using MPL version 1.4.2 on Python 2.7.8 (Gentoo Linux). This used to > work fine before, but maybe there is a new way to do what... > > Thanks > > Ryan > > > |