[Matplotlib-users] Changing the hatch linewidth

2015-09-29 Thread Ying Liu
Thanks in advance but Sorry to bother those who are not interested. I had a plot with hatch in it. But the default linewidth for hatch makes it really hard to see in my current figure layout/scale, so I would like to increases the hatch linewidth; plt.bar(ind, s1[:,3],width, color='0.85',

Re: [Matplotlib-users] TypeError: can't multiply sequence by non-int of type 'float'

2015-09-29 Thread Shakthi Kannan
Hi, --- On Tue, Sep 29, 2015 at 11:59 PM, Benjamin Root wrote: | You have some logic issues here. First off, I wouldn't be updating the plot | in the same function that is updating the data values. Assuming that | "loop_start()" is asynchronous, the update frequency for it

Re: [Matplotlib-users] TypeError: can't multiply sequence by non-int of type 'float'

2015-09-29 Thread Shakthi Kannan
Hi, I was able to get past the error, and I am now trying to add a callback to receive values from a queue, add it to the existing poly line, and render the same using matplotlib. The code snippet is shown below: === BEGIN === import matplotlib as mpl from mpl_toolkits.mplot3d import Axes3D

[Matplotlib-users] Changing the hatch linewidth

2015-09-29 Thread Ying Liu
Sorry for bother, not sure if this goes through or not. I had a plot with hatch in it. But the default linewidth for hatch makes it really hard to see in my current figure layout/scale, so I would like to increases the hatch linewidth; plt.bar(ind, s1[:,3],width, color='0.85', edgecolor='black',

Re: [Matplotlib-users] TypeError: can't multiply sequence by non-int of type 'float'

2015-09-29 Thread Benjamin Root
You have some logic issues here. First off, I wouldn't be updating the plot in the same function that is updating the data values. Assuming that "loop_start()" is asynchronous, the update frequency for it is likely to be entirely different from the Animation update frequency. So, just have that