Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream rottage in matplotlib - papertype unknown #90

Open
bennahugo opened this issue Sep 27, 2022 · 0 comments
Open

Upstream rottage in matplotlib - papertype unknown #90

bennahugo opened this issue Sep 27, 2022 · 0 comments
Assignees

Comments

@bennahugo
Copy link
Contributor

Caught by Montblanc test cases

values to real discards the imaginary part
  fill_value = np.array(fill_value, copy=False, dtype=ndtype)
�[0m�[91mTraceback (most recent call last):
  File "/usr/local/bin/plot-ms.py", line 720, in <module>
    plotcoll.make_figure(keys, save=savefile, suptitle=title0, figsize=figsize,
  File "/usr/local/lib/python3.8/dist-packages/Owlcat/Plotting.py", line 205, in make_figure
    fig.savefig(save, papertype=papertype, dpi=dpi,
  File "/usr/local/lib/python3.8/dist-packages/matplotlib/figure.py", line 3272, in savefig
    self.canvas.print_figure(fname, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/matplotlib/backend_bases.py", line 2338, in print_figure
    result = print_method(
  File "/usr/local/lib/python3.8/dist-packages/matplotlib/backend_bases.py", line 2204, in <lambda>
    print_method = functools.wraps(meth)(lambda *args, **kwargs: meth(
  File "/usr/local/lib/python3.8/dist-packages/matplotlib/_api/deprecation.py", line 385, in wrapper
    arguments = signature.bind(*inner_args, **inner_kwargs).arguments
  File "/usr/lib/python3.8/inspect.py", line 3037, in bind
    return self._bind(args, kwargs)
  File "/usr/lib/python3.8/inspect.py", line 3026, in _bind
    raise TypeError(
TypeError: got an unexpected keyword argument 'papertype'
@bennahugo bennahugo self-assigned this Sep 27, 2022
bennahugo added a commit that referenced this issue Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant