skyportal / gwemopt

Gravitational-wave Electromagnetic Optimization
GNU General Public License v3.0
19 stars 34 forks source link

Remove unknown warn= kwarg from matplotlib.use #61

Closed lpsinger closed 3 years ago

lpsinger commented 3 years ago

The matplotlib.use() function does not accept a warn= keyword argument. Fixes the following error message:

Traceback (most recent call last):
  File "gwemopt_run", line 52, in <module>
    matplotlib.use("agg", warn=False)
TypeError: use() got an unexpected keyword argument 'warn'