Skip to content
This repository was archived by the owner on Apr 24, 2020. It is now read-only.

Edits in geom_series.rst #821

Merged
merged 3 commits into from
Dec 16, 2019
Merged

Edits in geom_series.rst #821

merged 3 commits into from
Dec 16, 2019

Conversation

mtiley
Copy link
Collaborator

@mtiley mtiley commented Dec 11, 2019

  • code repetition reduced
  • typos fixed

y = calculate_y(i_0, b, g, T, y_init)
ax2.plot(x, y, label=f"g={g}")

plots = [ax1, ax2]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here and in the next line, you could omit the square brackets and still have the same outcome.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks -- new commit should have fixed that now.

@jstac
Copy link
Contributor

jstac commented Dec 12, 2019

This is very nice @mtiley. Please see my minor comment.

y = calculate_y(i_0, b, g, T, y_init)
ax2.plot(x, y, label=f"g={g}")

plots = ax1, ax2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change plots to axes


plots = ax1, ax2
param_labels = "Investment", "Government Spending"
for pair in zip(plots, param_labels):
Copy link
Contributor

@jstac jstac Dec 12, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change pair to ax, param and then drop the next two lines. Inside the loop, please make the appropriate name changes.

@jstac
Copy link
Contributor

jstac commented Dec 12, 2019

@mtiley, please add the "ready" label when this is ready for review again.

@mtiley mtiley added the ready label Dec 13, 2019
@jstac jstac merged commit 464975f into master Dec 16, 2019
@jstac jstac deleted the geom-edits branch December 16, 2019 22:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants