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

ymin and ymax in Matplotlib are deprecated #3

Closed
@dcgonzalez001

Description

@dcgonzalez001

Context

I went through this tutorial on 2019-07-07 with vanilla installs of recommended software applications and updates on a Windows 10 Home x64 machine and encountered a deprecation warning when running 3-Sentiment-Analysis.ipynb in the jupyter notebook.

Issues

Theymin argument was deprecated in Matplotlib 3.0 and will be removed in 3.2.
Theymax argument was deprecated in Matplotlib 3.0 and will be removed in 3.2.

Solution

Update code in 3-Sentiment-Analysis.ipynb from original:

plt.ylim(ymin=-.2,ymax=.3)

to

# plt.ylim(ymin=-.2, ymax=.3) (deprecated)plt.ylim(bottom=-.2,top=.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp