Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plots replace PyPlot in TwoDNavierStokes examples #73

Merged
merged 5 commits into from
May 17, 2020

Conversation

navidcy
Copy link
Member

@navidcy navidcy commented May 16, 2020

This is the beginning. We should ultimately drop PyPlot from docs/examples whatsoever.

@navidcy navidcy requested a review from glwagner May 16, 2020 21:38
@@ -25,13 +25,13 @@ nothing # hide
#
# First, we pick some numerical and physical parameters for our model.

n, L = 128, 2π # grid resolution and domain length
n, L = 256, 2π # grid resolution and domain length
Copy link
Member

Choose a reason for hiding this comment

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

😏

nsteps = 4000 # total number of steps
nsubs = 1000 # number of steps between each plot
dt = 5e-3 # timestep
nsteps = 8000 # total number of steps
Copy link
Member

Choose a reason for hiding this comment

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

This may be a pretty heavy example for docs. But we'll see how long they take to build; maybe it will be fine.

Copy link
Member Author

Choose a reason for hiding this comment

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

128 would work OK also... but 256 looks better.

The problem will arise when we make all examples producing 256^2 animations...

@navidcy navidcy changed the title Plots replace PyPlot Plots replace PyPlot in examples -- the beginning May 16, 2020
@codecov
Copy link

codecov bot commented May 16, 2020

Codecov Report

Merging #73 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #73   +/-   ##
=======================================
  Coverage   98.62%   98.63%           
=======================================
  Files           6        6           
  Lines         510      511    +1     
=======================================
+ Hits          503      504    +1     
  Misses          7        7           
Impacted Files Coverage Δ
src/utils.jl 100.00% <100.00%> (ø)

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 505f89f...3962bb4. Read the comment docs.

@navidcy navidcy changed the title Plots replace PyPlot in examples -- the beginning Plots replace PyPlot in TwoDNavierStokes examples May 17, 2020
@navidcy navidcy merged commit d410167 into master May 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants