Incidentally, if anyone else wants to do this and is unable to update their
matplotlib to v1.2.0, this code snippet achieves the same effect.
###
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.collections import LineCollection
# the line to
On 12/5/12 8:36 PM, Dale Lukas Peterson wrote:
> I have a time series of 32-bit unsigned integers in the form of a
> numpy array with dtype=numpy.uint32. The bits of each integer in
> array correspond to various boolean states collected during an
> experiment. I would like to make a plot this dat
Hi Luke,
> I been able to use the bitwise_and() and right_shift() on the data to
> get individual arrays which are populated with only 0's and1's.
>
> What I'm not clear on is now how to get the solid filled rectangle for
> areas where the bit is high and nothing when the bit is low.
>
> Is the
Dear Matplotlibers,
I'm trying to insert a logo image (from PNG) in the top left corner of my axes.
I'm doing this by reading the logo using read_png() and inserting it as an
OffsetImage in an AnnotationBox. When saving the figure as PNG everything is
based on pixel sizes and I know how to scal