Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOC: Add install instructions for pixi and uv#29752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
timhoffm merged 3 commits intomatplotlib:mainfromtimhoffm:doc-pixi-uv
Mar 18, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletionsdoc/index.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,6 +29,34 @@ Install

conda install -c conda-forge matplotlib

.. tab-item:: pixi

.. code-block:: bash

pixi add matplotlib

.. tab-item:: uv

.. code-block:: bash

uv add matplotlib

.. warning::

If you install Python with ``uv`` then the ``tkagg`` backend
will not be available because python-build-standalone (used by uv
to distribute Python) does not contain tk bindings that are usable by
Matplotlib (see `this issue`_ for details). If you want Matplotlib
to be able to display plots in a window, you should install one of
the other :ref:`supported GUI frameworks <optional_dependencies>`,
e.g.

.. code-block:: bash

uv add matplotlib pyside6

.. _this issue: https://github.com/astral-sh/uv/issues/6893#issuecomment-2565965851

.. tab-item:: other

.. rst-class:: section-toc
Expand Down
3 changes: 2 additions & 1 deletiondoc/install/index.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -28,7 +28,8 @@ precompiled wheel for your OS and Python.
The following backends work out of the box: Agg, ps, pdf, svg

Python is typically shipped with tk bindings which are used by
TkAgg.
TkAgg. Notably, python-build-standalone – used by ``uv`` – does
not include tk bindings that are usable by Matplotlib.

For support of other GUI frameworks, LaTeX rendering, saving
animations and a larger selection of file formats, you can
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp