python - Matplotlib fill alpha changes color -


i trying make matplotlib create fill transparent using alpha command, seems change color. it's there way increase transparency without changing color?

ax.fill_between(x, 0, y[0], facecolor='#614126', interpolate=true, alpha=.3) 

i've run similar issue, specifying alpha value caused color revert default blue. in case, able override whatever causing change using setp(), so:

my_plot = ax.fill_between(x, 0, y[0], interpolate=true, alpha=.3) matplotlib.pyplot.setp(my_plot, facecolor='#614126') 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -