Skip to content

Re-wrote categorical_interaction_plot.py to be PEP8 compliant - #2652

Closed
jremes-foss wants to merge 1 commit into
statsmodels:masterfrom
jremes-foss:PEP8CategoricalInPlot
Closed

jremes-foss wants to merge 1 commit into
statsmodels:masterfrom
jremes-foss:PEP8CategoricalInPlot

Conversation

@jremes-foss

Copy link
Copy Markdown

Hi all.

I re-wrote this file to be PEP8 compliant.

First, the comment in the beginning was too long so I shortened it so each line is below 80 character threshold.

Then, there was an extra semicolon in the end of plt.figure() function. I removed this.

Thank you.

@josef-pkt

Copy link
Copy Markdown
Member

@NewMan101 Thank you, I'll need to check this.

AFAIR, the py files were autogenerated/exported from the notebooks when we converted the examples to the notebooks.
If we want to keep the py files in sync with the notebook files, then edits to the py files will be lost. So far, we don't have automatic trigger to update the py files when notebooks change and we haven't done it consistently in the past.

@josef-pkt josef-pkt modified the milestones: 0.9, 0.8 Jun 17, 2016
@jbrockmendel

Copy link
Copy Markdown
Contributor

lgtm

@jbrockmendel

Copy link
Copy Markdown
Contributor

@josef-pkt @TomAugspurger @ChadFulton @kshedden @jseabold @bashtage this entirely trivial readability improvement has been sitting here for almost three years. Neglecting these pushes away contributors. This is Not OK.

@TomAugspurger

TomAugspurger commented Aug 21, 2018 via email

Copy link
Copy Markdown
Contributor

@jbrockmendel

Copy link
Copy Markdown
Contributor

Speaking for myself, I don't have time to keep up with regular maintenance.

The solution I am advocating is to empower @bashtage to merge Sufficiently Easy PRs that currently slip through the cracks.

@josef-pkt

Copy link
Copy Markdown
Member

see my comment above

closing, syncing py examples to notebook examples is a different task

@josef-pkt josef-pkt closed this Sep 23, 2018
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.

4 participants