Friends,
I have solved the problem by myself. I gave
if w < 2.0: color = 'red'
if 2.1 < w > 4.0: color='blue' So wherever the value there is a value like
2.03 or 2.05, the color was shown as black instead of red/blue.
Thanks,
Bala
On Mon, Sep 26, 2011 at 9:25 AM, Bala subramanian wrote:
> Frie
Friends,
In the mpl site, i found the an example code called hinton_demo to plot
weighted matrix in the following link.
http://matplotlib.sourceforge.net/examples/api/hinton_demo.html?highlight=hinton
I used the same script (attached test.py) making a slight modification in
the following section