.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "school-tutorials/trilmax-2025/1_python-library/plot_1_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_school-tutorials_trilmax-2025_1_python-library_plot_1_introduction.py: Introducing magnopy ******************* .. admonition:: Tutorial tasks * Install magnopy * Check that you have version 0.2.1 available First of all, |magnopy|_ shall be installed. For the extended guide you can read |magnopy-installation|_. Type the following command in the free notebook cell, run it and restart the kernel if necessary. .. code-block:: bash %pip install "magnopy[visual]" --upgrade Note that you are installing the extended version of magnopy that supports generation of ``.png`` and ``.html`` files. Those files will be mentioned in this tutorial. .. note:: We recommend to install magnopy with its visual capabilities whenever possible. Magnopy outputs graphics by default if |plotly|_ and |matplotlib|_ are installed. Nevertheless, graphical libraries are not included as default dependencies of magnopy in order to offer computational capabilities of magnopy even if those libraries are unaccessible. Import ====== Magnopy has a well defined set of public functions, that shall be available with code completion. Full list of available methods and objects can always be found in the |magnopy-API|_. Import magnopy as any other Python library .. GENERATED FROM PYTHON SOURCE LINES 39-42 .. code-block:: Python import magnopy .. GENERATED FROM PYTHON SOURCE LINES 43-50 Once imported, all magnopy's public objects are available under ``magnopy.``. .. hint:: It is enough to import magnopy once at the top of the notebook. Check that installation worked properly by printing magnopy's logo .. GENERATED FROM PYTHON SOURCE LINES 50-53 .. code-block:: Python print(magnopy.logo()) .. rst-class:: sphx-glr-script-out .. code-block:: none ███╗ ███╗ █████╗ ██████╗ ███╗ ██╗ ██████╗ ██████╗ ██╗ ██╗ ████╗ ████║ ██╔══██╗ ██╔════╝ ████╗ ██║ ██╔═══██╗ ██╔══██╗ ╚██╗ ██╔╝ ██╔████╔██║ ███████║ ██║ ███╗ ██╔██╗ ██║ ██║ ██║ ██████╔╝ ╚████╔╝ ██║╚██╔╝██║ ██╔══██║ ██║ ╚██║ ██║╚██╗██║ ██║ ██║ ██╔═══╝ ╚██╔╝ ██║ ╚═╝ ██║ ██║ ██║ ╚██████╔╝ ██║ ╚████║ ╚██████╔╝ ██║ ██║ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ▄ ▄ Version: 0.2.1 █▀█▀█ Documentation: magnopy.org █▄█▄█ Release date: 10 September 2025 ███ ▄▄ License: GNU GPLv3 ████ █ █ Copyright (C) 2023-2025 Magnopy Team ████ █ ▀▀▀▀▀▀▀▀ .. GENERATED FROM PYTHON SOURCE LINES 54-56 .. important:: Check that you have magnopy version ``v0.2.1``. .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.013 seconds) .. _sphx_glr_download_school-tutorials_trilmax-2025_1_python-library_plot_1_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_1_introduction.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_1_introduction.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_1_introduction.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_