Skip to content

DOC: Add demos with plots to graphics - #5309

Closed
jtweeder wants to merge 3 commits into
statsmodels:masterfrom
jtweeder:graphics_addgraphics
Closed

jtweeder wants to merge 3 commits into
statsmodels:masterfrom
jtweeder:graphics_addgraphics

Conversation

@jtweeder

@jtweeder jtweeder commented Oct 7, 2018

Copy link
Copy Markdown
Contributor

Here is a first draft to close #834

I tried to use the existing samples that may have been in the docstring, but not producing a plot. If an example was not present I tried to create a simple one that was easy to follow, and showed the intent of the function while following the format of other examples. I am open to any suggestions you may have for better use cases in any of the plots.

@coveralls

coveralls commented Oct 7, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.008%) to 84.211% when pulling fd199c6 on jtweeder:graphics_addgraphics into b858e6e on statsmodels:master.

@josef-pkt

Copy link
Copy Markdown
Member

appveyor fails in unrelated arima test on 32bit win
https://ci.appveyor.com/project/josef-pkt/statsmodels/builds/19326103/job/kk4devw6051x2iy4

travis fails in linting check, it looks like it doesn't like lambda expressions
(I think we might drop that lint check)

@bashtage

bashtage commented Oct 8, 2018

Copy link
Copy Markdown
Member

New code files have to pass strict linting. If you are going to assign a lambda, might as well write a local function.

Changed the lambdas into simple functions with def statement.
@codecov

codecov Bot commented Oct 8, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #5309 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5309      +/-   ##
==========================================
+ Coverage   81.71%   81.72%   +0.01%     
==========================================
  Files         569      569              
  Lines       89710    89710              
  Branches    10028    10028              
==========================================
+ Hits        73306    73315       +9     
+ Misses      14132    14126       -6     
+ Partials     2272     2269       -3
Impacted Files Coverage Δ
statsmodels/graphics/gofplots.py 82.35% <ø> (ø) ⬆️
statsmodels/graphics/tsaplots.py 98.93% <ø> (ø) ⬆️
statsmodels/graphics/plot_grids.py 0% <ø> (ø) ⬆️
statsmodels/graphics/mosaicplot.py 85.21% <ø> (ø) ⬆️
statsmodels/graphics/correlation.py 85.29% <ø> (ø) ⬆️
statsmodels/graphics/regressionplots.py 81.67% <ø> (ø) ⬆️
statsmodels/graphics/_regressionplots_doc.py 100% <ø> (ø) ⬆️
statsmodels/regression/mixed_linear_model.py 89.77% <0%> (+0.79%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b858e6e...fd199c6. Read the comment docs.

incorporating whitespace and comment clean up from linting and codacy review
@josef-pkt josef-pkt added this to the 0.10 milestone Dec 11, 2018
@bashtage bashtage mentioned this pull request May 2, 2019
4 tasks done
@jtweeder
jtweeder deleted the graphics_addgraphics branch May 5, 2019 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

graphics missing plots in documentation

4 participants