DOC: Clean up the pie docstring PR#8371
Conversation
|
|
||
| - *patches* is a sequence of | ||
| :class:`matplotlib.patches.Wedge` instances | ||
| .. plot:: mpl_examples/pie_and_polar_charts/pie_demo_features.py |
There was a problem hiding this comment.
Soon, we won't need this anymore :D
There was a problem hiding this comment.
@NelleV curious: what does the future look like in this regard?
There was a problem hiding this comment.
On matplotlib, I am not sure, as our pyplot API page is gigantic, but on sklearn it looks like this:
http://scikit-learn.org/stable/modules/generated/sklearn.isotonic.IsotonicRegression.html#sklearn.isotonic.IsotonicRegression
If you scroll down, you'll see all examples using the isotonic regression (there's only one).
I am not sure how to activate this feature just yet, but that is my next step :)
NelleV
left a comment
There was a problem hiding this comment.
There's a merge/rebase problem in here.
| @needs_xelatex | ||
| @pytest.mark.style('default') | ||
| @pytest.mark.backend('pgf') | ||
| ======= |
|
@NelleV I forgot that the test_backend_pgf file had been modified in the original PR. I took that out along with the other extraneous whitespace changes |
|
Feel free to self-merge once the tests pass. This has been approved already in the previous PR. |
|
@NelleV Does this error from the doc build mean anything to you? |
|
It's an indentation problem. That's all I can say :( |
|
Ok, I'll dig into that later |
|
The previous PR was never approved, so please don't self-merge. |
|
@QuLogic don't worry. wasn't going to after seen that weird "rubric" failure. |
lib/matplotlib/axes/_axes.py
Outdated
|
|
||
| self.set_xlim((-1.25 + center[0], | ||
| 1.25 + center[0])) | ||
| 1.25 + center[0])) |
There was a problem hiding this comment.
This is not indented correctly.
lib/matplotlib/axes/_axes.py
Outdated
| The input array used to make the pie chart. | ||
|
|
||
| *explode*: [ *None* | len(x) sequence ] | ||
| explode : array-like, optional (default is None) |
There was a problem hiding this comment.
I think our convention has been optional, default: None.
lib/matplotlib/axes/_axes.py
Outdated
| pctdistance : float, optional (default is 0.6) | ||
| The ratio between the center of each pie slice and the | ||
| start of the text generated by *autopct*. Ignored if | ||
| *autopct* is *None*; default is 0.6. |
lib/matplotlib/axes/_axes.py
Outdated
| autotexts : list | ||
| A is a list of :class:`~matplotlib.text.Text` instances for the | ||
| numeric labels. Is returned only if parameter *autopct* is | ||
| not *None*. |
lib/matplotlib/axes/_axes.py
Outdated
| frame=False, rotatelabels=False): | ||
| r""" | ||
| Plot a pie chart. | ||
| r"""Plot a pie chart. |
There was a problem hiding this comment.
Can you try reverting this? I think it might fix it. At least it seems to be working locally...
There was a problem hiding this comment.
Question: does it even need to be a raw string?
There was a problem hiding this comment.
I don't think so, but if everything breaks when you remove the raw string, then it needs to be a raw string :p
There was a problem hiding this comment.
I don't see any backslashes, so maybe not?
|
The indentation problem probably comes from our magic interpolation docstring functions. |
|
Congrats on attaining AppVeyor build 1000. |
DOC: Clean up the pie docstring PR
|
Backported to |
|
@kahnchana thanks for this! |
Supersedes #8357
Builds upon @kahnchana 's work with some minor reorganization