.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "master-tutorial/1_python-library/plot_0_introduction.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_master-tutorial_1_python-library_plot_0_introduction.py: Introducing magnopy ******************* .. include:: ../../exercises/0.inc .. note:: We recommend to install magnopy with its visual capabilities whenever possible (magnopy[visual]). Magnopy will output graphics by default if |plotly|_ and |matplotlib|_ are installed. Nevertheless, graphical libraries are not included as default dependencies in order to offer computational capabilities of magnopy even if those libraries are not available. Import ====== Magnopy has a well defined set of public functions, that shall be available with code completion. One can always find full list of available methods and objects on |magnopy-API|_. .. GENERATED FROM PYTHON SOURCE LINES 23-26 .. code-block:: Python import magnopy .. GENERATED FROM PYTHON SOURCE LINES 27-30 Now all magnopy's public objects are available under ``magnopy.``. To check that installation worked properly try print magnopy's logo .. GENERATED FROM PYTHON SOURCE LINES 30-33 .. code-block:: Python print(magnopy.logo()) .. rst-class:: sphx-glr-script-out .. code-block:: none ███╗ ███╗ █████╗ ██████╗ ███╗ ██╗ ██████╗ ██████╗ ██╗ ██╗ ████╗ ████║ ██╔══██╗ ██╔════╝ ████╗ ██║ ██╔═══██╗ ██╔══██╗ ╚██╗ ██╔╝ ██╔████╔██║ ███████║ ██║ ███╗ ██╔██╗ ██║ ██║ ██║ ██████╔╝ ╚████╔╝ ██║╚██╔╝██║ ██╔══██║ ██║ ╚██║ ██║╚██╗██║ ██║ ██║ ██╔═══╝ ╚██╔╝ ██║ ╚═╝ ██║ ██║ ██║ ╚██████╔╝ ██║ ╚████║ ╚██████╔╝ ██║ ██║ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ▄ ▄ Version: 0.4.3 █▀█▀█ Documentation: magnopy.org █▄█▄█ Release date: 9 January 2026 ███ ▄▄ License: GNU GPLv3 ████ █ █ Copyright (C) 2023-2026 Magnopy Team ████ █ ▀▀▀▀▀▀▀▀ .. GENERATED FROM PYTHON SOURCE LINES 34-38 Version ======= Version of magnopy can be seen in the summary printed by the :py:func:`magnopy.logo` function. To access the version alone you can use .. GENERATED FROM PYTHON SOURCE LINES 38-41 .. code-block:: Python print(magnopy.__version__) .. rst-class:: sphx-glr-script-out .. code-block:: none 0.4.3 .. GENERATED FROM PYTHON SOURCE LINES 42-54 Task solutions ============== task 1 ------ .. code-block:: bash %pip install "magnopy[visual]" --upgrade task 2 ------ .. GENERATED FROM PYTHON SOURCE LINES 54-57 .. code-block:: Python print(magnopy.__version__) .. rst-class:: sphx-glr-script-out .. code-block:: none 0.4.3 .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.003 seconds) .. _sphx_glr_download_master-tutorial_1_python-library_plot_0_introduction.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_0_introduction.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_0_introduction.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_0_introduction.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_