METADATA 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Metadata-Version: 2.1
  2. Name: matplotlib-inline
  3. Version: 0.1.6
  4. Summary: Inline Matplotlib backend for Jupyter
  5. Home-page: https://github.com/ipython/matplotlib-inline
  6. Author: IPython Development Team
  7. Author-email: ipython-dev@scipy.org
  8. License: BSD 3-Clause
  9. Keywords: python,ipython,matplotlib,jupyter
  10. Requires-Python: >=3.5
  11. Description-Content-Type: text/markdown
  12. License-File: LICENSE
  13. Requires-Dist: traitlets
  14. # Matplotlib Inline Back-end for IPython and Jupyter
  15. This package provides support for matplotlib to display figures directly inline in the Jupyter notebook and related clients, as shown below.
  16. ## Installation
  17. With conda:
  18. ```bash
  19. conda install -c conda-forge matplotlib-inline
  20. ```
  21. With pip:
  22. ```bash
  23. pip install matplotlib-inline
  24. ```
  25. ## Usage
  26. 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.
  27. This will produce a figure immediately below:
  28. ```python
  29. %matplotlib inline
  30. import matplotlib.pyplot as plt
  31. import numpy as np
  32. x = np.linspace(0, 3*np.pi, 500)
  33. plt.plot(x, np.sin(x**2))
  34. plt.title('A simple chirp');
  35. ```
  36. ## License
  37. Licensed under the terms of the BSD 3-Clause License, by the IPython Development Team (see `LICENSE` file).
  38. BSD 3-Clause License
  39. Copyright (c) 2019-2022, IPython Development Team.
  40. All rights reserved.
  41. Redistribution and use in source and binary forms, with or without
  42. modification, are permitted provided that the following conditions are met:
  43. 1. Redistributions of source code must retain the above copyright notice, this
  44. list of conditions and the following disclaimer.
  45. 2. Redistributions in binary form must reproduce the above copyright notice,
  46. this list of conditions and the following disclaimer in the documentation
  47. and/or other materials provided with the distribution.
  48. 3. Neither the name of the copyright holder nor the names of its
  49. contributors may be used to endorse or promote products derived from
  50. this software without specific prior written permission.
  51. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  52. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  53. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  54. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  55. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  56. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  57. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  58. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  59. OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  60. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.