[DOC] Mathtext and matshow examples #2066

Merged
merged 1 commit into from May 29, 2013

Conversation

Projects
None yet
3 participants
@GBillotey
Contributor

GBillotey commented May 26, 2013

I did this because of #2024.
When rebasing, I saw the mathtext example has already been improved in 40340fc, so no problem if the consensus is to close this without merging (since I had completed the work I thought I would do the PR anyway).

The "Writing mathematical expressions" tutorial is of high quality, so I felt it would be better to try to improve the related example in the screenshot http://matplotlib.org/users/screenshots.html.
I have checked pep8 and that the pdf output is correct when running python mathtext_examples.py --latex (amsmath and amssymb packages are needed).

I attach the result of doc building, since it is sometimes tricky to figure it out: mathtext_examples_01_00

The matshow example with its 2 oversized figures suffers from a similar problem, so I took this opportunity to modify it as well.

@mdboom

This comment has been minimized.

Show comment Hide comment
@mdboom

mdboom May 29, 2013

Owner

I think this mathtext example is a real improvement over 40340fc, so I'm going to go ahead and merge this for 1.3.x.

Owner

mdboom commented May 29, 2013

I think this mathtext example is a real improvement over 40340fc, so I'm going to go ahead and merge this for 1.3.x.

mdboom added a commit that referenced this pull request May 29, 2013

Merge pull request #2066 from GBillotey/oversized_doc_img
[DOC] Mathtext and matshow examples

@mdboom mdboom merged commit 5d6e96d into matplotlib:master May 29, 2013

1 check failed

default The Travis CI build failed
Details

mdboom added a commit that referenced this pull request May 29, 2013

Merge pull request #2066 from GBillotey/oversized_doc_img
[DOC] Mathtext and matshow examples
@pelson

This comment has been minimized.

Show comment Hide comment
@pelson

pelson May 29, 2013

Member

Nice work @GBillotey.

Member

pelson commented May 29, 2013

Nice work @GBillotey.

@GBillotey GBillotey deleted the GBillotey:oversized_doc_img branch May 30, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment