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

Replace --pylab flag with --matplotlib in usage #3925

Merged
merged 3 commits into from
Aug 7, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions IPython/terminal/ipapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@
#-----------------------------------------------------------------------------

_examples = """
ipython --pylab # start in pylab mode
ipython --pylab=qt # start in pylab mode with the qt4 backend
ipython --matplotlib # enable matplotlib integration
ipython --matploltib=qt # enable matplotlib integration with qt4 backend

ipython --log-level=DEBUG # set logging to DEBUG
ipython --profile=foo # start with profile foo

Expand Down
9 changes: 7 additions & 2 deletions docs/source/whatsnew/version1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,14 @@ Core
- editor hooks have been restored from quarantine, enabling TextMate as editor,
etc.
- The env variable PYTHONSTARTUP is respected by IPython.
- A ``%matplotlib`` magic is added, which is like the old ``%pylab`` magic,
- The ``%matplotlib`` magic was added, which is like the old ``%pylab`` magic,
but it does not import anything to the interactive namespace.
It is recommended that users switch to ``%matplotlib`` and explicit imports.
- The ``--matplotlib`` command line flag was also added. It invokes the new
``%matplotlib`` magic and can be used in the same way as the old ``--pylab``
flag. You can either use it by itself as a flag (``--matplotlib``), or you
can also pass a backend explicitly (``--matplotlib qt`` or
``--matplotlib=wx``, etc).


Backwards incompatible changes
Expand Down Expand Up @@ -226,7 +231,7 @@ The javascript components used in the notebook have been updated significantly.
Some relevant changes that are results of this:

- Markdown cells now support GitHub-flavored Markdown (GFM),
which includes ``\`\`\`python`` code blocks and tables.
which includes `````python`` code blocks and tables.
- Notebook UI behaves better on more screen sizes.
- Various code cell input issues have been fixed.

Expand Down