Status of Wx backend


What’s the official status of the plain Wx backend (not WxAgg) ? I’m noticing that the following script produces black outlines with Wx, but should not (and does not on other backends). I also noticed font differences between the two. I was curious if this is something to track down or if plain Wx is just kind of abandoned. I’ve also attached images made with Wx and GtkAgg.

#!/usr/bin/env python
import matplotlib.mlab as mlab
from pylab import figure, show
import numpy as np

x = np.arange(0.0, 2, 0.01)
y1 = np.sin(2np.pix)
y2 = 1.2np.sin(4np.pi*x)

now fill between y1 and y2 where a logical condition is met. Note

this is different than calling

fill_between(x[where], y1[where],y2[where]

because of edge effects over multiple contiguous regions.

fig = figure()
ax = fig.add_subplot(111)
#ax.plot(x, y1, x, y2, color=‘black’)
ax.fill_between(x, y1, y2, where=y2>y1, facecolor=’#8388FC’, edgecolor=‘None’)
ax.fill_between(x, y1, y2, where=y2<=y1, facecolor=’#C14F53’, edgecolor=‘None’)
ax.set_title(‘fill between where’)





Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma