{"id":443,"library":"matplotlib-inline","title":"Matplotlib Inline Backend for Jupyter","description":"Provides an inline Matplotlib backend for Jupyter, enabling figures to display directly within the notebook interface. Current version: 0.2.1. Maintained by the IPython Development Team, with releases as needed to address updates and improvements.","status":"active","version":"0.2.1","language":"python","source_language":"en","source_url":"https://github.com/ipython/matplotlib-inline","tags":["Jupyter","Matplotlib","Inline Plotting","Data Visualization"],"install":[{"cmd":"pip install matplotlib-inline","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Required for plotting functionality","package":"matplotlib"},{"reason":"Required for Jupyter kernel integration","package":"ipykernel"}],"imports":[{"wrong":"from matplotlib_inline import configure_inline_support","symbol":"configure_inline_support","correct":"from matplotlib_inline import configure_inline_support"}],"quickstart":{"code":"import numpy as np\nimport matplotlib.pyplot as plt\n\n# Generate sample data\nx = np.linspace(0, 10, 100)\ny = np.sin(x)\n\n# Create a plot\nplt.plot(x, y)\nplt.title('Sine Wave')\nplt.show()","lang":"python","description":"Basic example to generate and display a sine wave plot inline within a Jupyter notebook."},"warnings":[{"fix":"Install 'matplotlib-inline' using pip: pip install matplotlib-inline","message":"Ensure that 'matplotlib-inline' is installed to enable inline plotting in Jupyter notebooks. Without this package, figures may not display inline.","severity":"breaking","affected_versions":"0.2.1"},{"fix":"Add '%matplotlib inline' at the beginning of your notebook to enable inline plotting.","message":"In some Jupyter environments, the '%matplotlib inline' magic command may still be required to enable inline plotting. If figures do not display inline, try running '%matplotlib inline' in a notebook cell before plotting.","severity":"gotcha","affected_versions":"0.2.1"},{"fix":"Install 'numpy' using pip: pip install numpy","message":"The 'numpy' package is not found. This typically occurs when numpy is not installed in the current Python environment, leading to a ModuleNotFoundError when an application or its dependencies try to import it.","severity":"breaking","affected_versions":"0.2.1"},{"fix":"Install 'numpy' using pip: pip install numpy","message":"Ensure that 'numpy' is installed. The 'ModuleNotFoundError: No module named 'numpy'' indicates that the package is missing, preventing scripts that depend on it from running.","severity":"breaking","affected_versions":"*"}],"env_vars":null,"search_vec":"'0.2.1':24 'address':36 'backend':3,10 'current':22 'data':44 'develop':29 'direct':17 'display':16 'enabl':13 'figur':14 'improv':39 'inlin':2,8,42 'interfac':21 'ipython':28 'jupyt':5,12,40 'maintain':25 'matplotlib':1,9,41 'need':34 'notebook':20 'plot':43 'provid':6 'releas':32 'team':30 'updat':37 'version':23 'visual':45 'within':18","created_at":"2026-03-28T12:02:48.843608+00:00","updated_at":"2026-04-16T16:27:42.079738+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpdbqz_sxt/venv/lib/python3.12/site-packages/matplotlib_inline/__init__.py\", line 1, in <module>\n    from . import backend_inline, config  # noqa\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/tmp/tmpdbqz_sxt/"},"ecosystem":"pypi","meta_description":null,"install_score":0,"quickstart_score":0,"quickstart_tag":"stale","pypi_latest":"0.2.2","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/ipython/matplotlib-inline","docs":null,"changelog":null,"pypi":"https://pypi.org/project/matplotlib-inline/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data","ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":"stale"}}