The following code displays a figure with both a red and a blue arrow (generated by annotate). But the pdf that is saved only shows the red one. It seems that the line ax1.set_xscale('log') is causing the trouble, because if it is commented out, the blue arrow reappears in the pdf. Any hints?
import numpy as np
from matplotlib import pyplot as pp
Thanks for the report. I have created a pull request with a solution for this bug here:
If you are able to build from git, test these changes and give me feedback in your specific environment, that would be great.
Cheers,
Mike
···
On 07/14/2011 04:59 PM, Christopher Brown wrote:
Hi,
The following code displays a figure with both a red and a blue arrow
(generated by annotate). But the pdf that is saved only shows the red
one. It seems that the line ax1.set_xscale('log') is causing the
trouble, because if it is commented out, the blue arrow reappears in the
pdf. Any hints?
import numpy as np
from matplotlib import pyplot as pp