METADATA 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Metadata-Version: 2.4
  2. Name: matplotlib-inline
  3. Version: 0.2.1
  4. Summary: Inline Matplotlib backend for Jupyter
  5. Keywords: ipython,jupyter,matplotlib,python
  6. Author-email: IPython Development Team <ipython-dev@python.org>
  7. Requires-Python: >=3.9
  8. Description-Content-Type: text/markdown
  9. Classifier: Development Status :: 5 - Production/Stable
  10. Classifier: Framework :: IPython
  11. Classifier: Framework :: Jupyter :: JupyterLab :: 3
  12. Classifier: Framework :: Jupyter :: JupyterLab :: 4
  13. Classifier: Framework :: Jupyter :: JupyterLab
  14. Classifier: Framework :: Jupyter
  15. Classifier: Intended Audience :: Developers
  16. Classifier: Intended Audience :: Science/Research
  17. Classifier: Programming Language :: Python :: 3.10
  18. Classifier: Programming Language :: Python :: 3.11
  19. Classifier: Programming Language :: Python :: 3.12
  20. Classifier: Programming Language :: Python :: 3.13
  21. Classifier: Programming Language :: Python :: 3.14
  22. Classifier: Programming Language :: Python :: 3.9
  23. Classifier: Programming Language :: Python :: 3
  24. Classifier: Programming Language :: Python
  25. Classifier: Topic :: Multimedia :: Graphics
  26. License-File: LICENSE
  27. Requires-Dist: traitlets
  28. Requires-Dist: flake8 ; extra == "test"
  29. Requires-Dist: nbdime ; extra == "test"
  30. Requires-Dist: nbval ; extra == "test"
  31. Requires-Dist: notebook ; extra == "test"
  32. Requires-Dist: pytest ; extra == "test"
  33. Project-URL: Homepage, https://github.com/ipython/matplotlib-inline
  34. Provides-Extra: test
  35. # Matplotlib Inline Back-end for IPython and Jupyter
  36. This package provides support for matplotlib to display figures directly inline in the Jupyter notebook and related clients, as shown below.
  37. ## Installation
  38. With conda:
  39. ```bash
  40. conda install -c conda-forge matplotlib-inline
  41. ```
  42. With pip:
  43. ```bash
  44. pip install matplotlib-inline
  45. ```
  46. ## Usage
  47. Note that in current versions of JupyterLab and Jupyter Notebook, the explicit use of the `%matplotlib inline` directive is not needed anymore, though other third-party clients may still require it.
  48. This will produce a figure immediately below:
  49. ```python
  50. %matplotlib inline
  51. import matplotlib.pyplot as plt
  52. import numpy as np
  53. x = np.linspace(0, 3*np.pi, 500)
  54. plt.plot(x, np.sin(x**2))
  55. plt.title('A simple chirp');
  56. ```
  57. ## License
  58. Licensed under the terms of the BSD 3-Clause License, by the IPython Development Team (see `LICENSE` file).