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

MacOSX backend not correctly found/used as matplotlib interactive backend #1385

Open
jeanconn opened this issue Aug 13, 2024 · 0 comments
Open
Labels

Comments

@jeanconn
Copy link
Contributor

Description
MacOSX backend not found on mac.

To Reproduce
Steps to reproduce the behavior

(ska3) ➜  ~ ipython --matplotlib
Python 3.11.8 | packaged by conda-forge | (main, Feb 16 2024, 20:49:36) [Clang 16.0.6 ]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.22.1 -- An enhanced Interactive Python. Type '?' for help.
Using matplotlib backend: <object object at 0x104863b00>   <=== ********* weird ********

In [1]: import matplotlib.pyplot as plt

In [2]: plt.plot()
Out[2]: []  

Expected behavior
A clear and concise description of what you expected to happen.

(ska3) flame:~ jean$ ipython --matplotlib
Python 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:27:35) [Clang 14.0.6 ]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.26.0 -- An enhanced Interactive Python. Type '?' for help.
Using matplotlib backend: MacOSX

In [1]: from matplotlib import pyplot as plt

In [2]: plt.plot([0, 1], [1, 2])
Out[2]: [<matplotlib.lines.Line2D at 0x115f6f190>]

Additional context
Add any other context about the problem here.

In my dev ska3 environments I was able to fix this by upgrading ipython from 8.22.1 to 8.26.0 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant