Update vlines example with axes wide lines.#7878
Merged
QuLogic merged 2 commits intomatplotlib:masterfrom Mar 9, 2017
Merged
Conversation
Current coverage is 62.16% (diff: 100%)@@ master #7878 diff @@
==========================================
Files 174 174
Lines 56078 56078
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
Hits 34862 34862
Misses 21216 21216
Partials 0 0
|
Contributor
|
Actually you can just do which is quite simpler. |
Member
|
In addition to what @anntzer said, would you mind making the example's docstring sphinx-gallery compatible? Here's a PR that did just that for a few examples: https://github.com/matplotlib/matplotlib/pull/7331/files The basic format for that is as follows: """
====================
Title of the example
====================
A more detailed description of the example. Discuss what
each subplot is demonstrating and talk about broader
concepts.
"""
import numpy as np
import matplotlib.pyplot as plt
# yada yada yada
############################################################################
# You can also include :math:`math` inline, or as separate equations:
#
# .. math::
#
# \exp(j\pi) = -1
plt.show() |
Member
|
Hi @bjodah |
Member
|
I've added a small commit adding the docstring. |
phobson
approved these changes
Mar 8, 2017
Member
|
Build failure is unrelated PEP8 issues #8237. |
16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add transform to vline example (as discussed [here]
(#5896 (comment)) )
@tacaswell was this what you had in mind?