Whenever I export a figure in a vector format, or copy a figure and paste as a vector format, I get multiple copies of the axis -- all overlain on one another. In particular I often have
* a rectangle that's filled in * a rectangle that's outline only * a pair of horizontal and vertical lines * additionally several copies of the border lines, all as separate lines.
To solve it, each time I use the figure I have to ungroup it, separate out the various lines and boxes surrounding the figure, delete the unnecessary copies, and group it together again. The problem is that, on any renderer that uses antialiasing, I get varying colours and thicknesses for multiple lines. I generally want control over the corner/mitres, so I keep only the rectangular frame and remove all the useless floating line segments.
I must be doing something wrong when creating the graph? Is there a way to make there be only one set of axes? I've tried the export_fig script which is great but doesn't help with this frustrating problem.
Play games and win prizes!Learn more