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

Output regression in 3.2 that affects SymPy's plotting #17004

Closed
@moorepants

Description

@moorepants

Bug report

Bug summary

The SymPy 1.5 documentation was built with matpltolib < 3.2, see the results here:

https://docs.sympy.org/latest/modules/plotting.html

Example image:

image

The SymPy development documentation (SymPy master branch) is now built with matplotlib 3.2, see the results here:

https://docs.sympy.org/dev/modules/plotting.html

Example image:

image

I've been documenting the issue over at SymPy here:sympy/sympy#19051

Code for reproduction

Note that SymPy has a wrapper around various plotting libraries and it will run matplotlib as the backend by default. I have not yet isolated what underlying mpl code in the SymPy wrapper is specifically affected.

fromsympyimportsymbolsfromsympy.plottingimportplotx=symbols('x')p1=plot(x*x,show=False)p2=plot(x,show=False)p1.append(p2[0])p1.show()

Actual outcome

# If applicable, paste the console output here##

Expected outcome

Matplotlib version

  • Operating system: Ubuntu 18.04 and 19.10
  • Matplotlib version: 3.1 and 3.2
  • Matplotlib backend (print(matplotlib.get_backend())):
  • Python version: 3.6-3.8
  • Jupyter version (if applicable):
  • Other libraries: SymPy 1.5

Checked with MPL from conda-forge.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp