Hello,
I am trying to make a figure with the attached code. The resulting figure is
attached. I would like to make the pink boxes the same size as the blue
boxes. I have read the documentation for axes.text and the bbox dict, but I
cannot figure out how to specify the size of the box. When I try passing
bbox=dict(width=30), I got an error saying the keyword argument width was
specified twice. I assume this is because the text command specifies the
width automatically. What is the prefered way to do this? The only solution
I can think of so far is to draw the rectangle patches, and then add the
text after without a bbox, but this seems cumbersome.
Thank you,
Glenn
|