Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pylab import adjustments #3568

Merged
merged 13 commits into from
Jul 17, 2013
Merged

pylab import adjustments #3568

merged 13 commits into from
Jul 17, 2013

Commits on Jul 13, 2013

  1. adjust import_pylab

    it's all or nothing now, not all or some.
    Now `pylab_import_all=False` should mean that *no* symbols are added to the user namespace.
    
    This also removes `figsize` from the pyplot namespace, which is weird and confusing.
    minrk committed Jul 13, 2013
    Configuration menu
    Copy the full SHA
    ac1c1ee View commit details
    Browse the repository at this point in the history
  2. add %pylab --no-import

    allows override of the import_all option when the magic is called
    minrk committed Jul 13, 2013
    Configuration menu
    Copy the full SHA
    eac838e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0f9502e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2395095 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ff37f5b View commit details
    Browse the repository at this point in the history
  6. add %matplotlib and shell.enable_matplotlib

    Now `%matplotlib` / `enable_matplotlib` do the bulk of the work. `%pylab` / `enable_pylab` just add namespace population on top of that.
    
    Related changes:
    
    - remove `pylabtools.activate_pylab`
    - shorten backend message to just `using matplotlib backend: <backend>`
    - only show backend message when magics are called with `auto`,
      never from Python methods or when backend is explicit.
    - pylab clobber warning is only displayed in the magic, not the Python method.
    minrk committed Jul 13, 2013
    Configuration menu
    Copy the full SHA
    7ae1fe4 View commit details
    Browse the repository at this point in the history
  7. update pylabtools tests

    minrk committed Jul 13, 2013
    Configuration menu
    Copy the full SHA
    c88451c View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2013

  1. fix some failing test

    ivanov committed Jul 17, 2013
    Configuration menu
    Copy the full SHA
    115bdf3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16c0c50 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2 from ivanov/pylab-no-import

    fix 2 failing tests and add programmatic support for backend
    minrk committed Jul 17, 2013
    Configuration menu
    Copy the full SHA
    aa8178d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    058ac4f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    48701c8 View commit details
    Browse the repository at this point in the history
  6. fix pylab test in in-process kernel

    welcome message has changed
    minrk committed Jul 17, 2013
    Configuration menu
    Copy the full SHA
    80378e1 View commit details
    Browse the repository at this point in the history