Yes and no. My understanding of stacked bars is the bar stacked on top is
always larger than the one below. I am trying to show how much the second
bar explains of the first bar. In my case though it is possible the second
bar is larger than the first. As a consequence you wouldn't see both bars
an
Thanks Paul, that solved the problem.
matplotlib.rcParams['axes.linewidth'] = 0.5
matplotlib.rcParams['patch.linewidth'] = 0.5
is what I wanted and I'll put that in matplotlibrc.
Previously I thought that this is related to some anti-aliasing
setting that would affect all lines drawn. Bu
You need to thin out the default line widths in your matplotlibrc file.
Something like:
import matplotlib
matplotlib.rcParams['axes.linewidth'] = 0.5
matplotlib.rcParams['lines.linewidth'] = 0.5
...if you don't want to edit your matplotlibrc file.
Hope that helps,
-paul
On Sat, Jun 29, 2013 at
This kind of sounds like stack plots, but I am not quite sure.
Cheers!
Ben Root
On Jun 29, 2013 1:45 AM, "mdekauwe" wrote:
> Hi,
>
> I am plotting overlapping bars in a bar chart. In some places one bar
> overlaps the other so I would like to draw a horizontal line to show where
> the underlying
This code:
import matplotlib.pyplot as plt
plt.plot([1,2,5,3,4], label='line')
plt.legend()
plt.show()
shows this image: http://i.imgur.com/KMPywSp.png
I want axis and legend box with 1px line, like this:
http://i