I have confirmed that I have used this same command before on a different computer with success and using identical commands and identical files on this computer is resulting in this same error, so it has somehting to do with my setup.
I have tried updating matplotlib to no avail (just because I see matplotlib showing up in many lines of the error output). And I have tried to uninstall and reinstall qiime and python. I cannot find any occurrence of a similar problem and solution.
Here is the command I ran (copied from an effort that previously successfully generated 2D PCoA ordinations):
$ make_2D_plots.py -i beta_div_REL_n500_LFvHF_Duodenum/bray_curtis_pc.txt -o REL_n500_LFvHF_Duodenum_bray_curtis_2D_PCoA____TEST____/ -m map_QIIME.txt
Traceback (most recent call last):
File "/Users/nate/miniconda2/bin/make_2D_plots.py", line 242, in <module>
main()
File "/Users/nate/miniconda2/bin/make_2D_plots.py", line 238, in main
label_color, opts.scree, opts.pct_variation_below_one)
File "/Users/nate/miniconda2/lib/python2.7/site-packages/qiime/make_2d_plots.py", line 608, in generate_2d_plots
pct_variation_below_one=pct_variation_below_one)
File "/Users/nate/miniconda2/lib/python2.7/site-packages/qiime/make_2d_plots.py", line 461, in draw_pcoa_graph
generate_eps=generate_eps)
File "/Users/nate/miniconda2/lib/python2.7/site-packages/qiime/make_2d_plots.py", line 248, in make_interactive_scatter
alpha)
File "/Users/nate/miniconda2/lib/python2.7/site-packages/qiime/make_2d_plots.py", line 330, in draw_scatterplot
ax = fig.add_subplot(111, axisbg=background_color)
File "/Users/nate/miniconda2/lib/python2.7/site-packages/matplotlib/figure.py", line 1239, in add_subplot
a = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/Users/nate/miniconda2/lib/python2.7/site-packages/matplotlib/axes/_subplots.py", line 77, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/Users/nate/miniconda2/lib/python2.7/site-packages/matplotlib/axes/_base.py", line 539, in __init__
self.update(kwargs)
File "/Users/nate/miniconda2/lib/python2.7/site-packages/matplotlib/artist.py", line 888, in update
for k, v in props.items()]
File "/Users/nate/miniconda2/lib/python2.7/site-packages/matplotlib/artist.py", line 881, in _update_property
raise AttributeError('Unknown property %s' % k)
AttributeError: Unknown property axisbg