On 05/20/2010 11:32 AM, Ryan May wrote:
> On Thu, May 20, 2010 at 9:34 AM, Michael Droettboom wrote:
>
>> It is a bug, but the broken behavior was kept for backward
>> compatibility. Try setting the vertical alignment to 'baseline'.
>>
>> import matplotlib.pyplot as plt
>> fig=plt.figure()
>>
On Thu, May 20, 2010 at 9:34 AM, Michael Droettboom wrote:
> It is a bug, but the broken behavior was kept for backward
> compatibility. Try setting the vertical alignment to 'baseline'.
>
> import matplotlib.pyplot as plt
> fig=plt.figure()
> plt.text(0.4,0.5,"some text", verticalalignment='base
It is a bug, but the broken behavior was kept for backward
compatibility. Try setting the vertical alignment to 'baseline'.
import matplotlib.pyplot as plt
fig=plt.figure()
plt.text(0.4,0.5,"some text", verticalalignment='baseline')
plt.text(0.6,0.5,"some text with a g in it", verticalalignment=
I've also discovered another text problem. If I add two lines of test
to a plot as follows:
import mapplotlib.pyplot as plt
fig=plt.figure()
plt.text(0.4,0.5,"some text")
plt.text(0.6,0.5,"some more text")
then the two sets of text line up nicely with each other, because they
have the same y-axis