GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pylab's all() and Python's built in all() give different res · Issue #194 · matplotlib/matplotlib

pylab's all() and Python's built in all() give different res #194

New issue
Copy link
New issue
Copy link
Closed
Closed
pylab's all() and Python's built in all() give different res#194
Copy link

Description

@ddale
ddale
opened on Jun 20, 2011
Issue body actions

Original report at SourceForge, opened Thu Feb 17 04:27:59 2011

pylab's all() and Python's built in all() give different results.
This is detailed here: http://bugs.python.org/issue11221

This looks like a bug, but it actually may be legitimate functionality. If this is the case, this ticket might be better served as a feature request to change the name of pylab's all to something else to allow use of "from pylab import*" without harm to existing code.

Activity

  1. efiring commented on Jun 21, 2011

    @efiring
    efiring
    on Jun 21, 2011
    Member
    More actions

    Pylab simply dumps everything from pyplot and numpy into its namespace, and
    all() comes from numpy. That is the way it has been for a long time, so I
    don't think we are going to change anything unless numpy does so. A name
    change such as you suggest could harm existing code that is assuming the
    present behavior. In the meantime, this illustrates why we discourage use
    of "from pylab import *", especially for new code.

  2. efiring
    closed this as completedon Jun 21, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.