-
Notifications
You must be signed in to change notification settings - Fork 74
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
Examples / RTFD update #69
Conversation
You can have a look at the resulting documentation here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are still some unused matplotlib imports.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff!
Just a few minor things:
In the plot from the CovModel additional parameters example, the orange curve looks a bit jaggy, maybe the standard resolution of the CovModel curves could be increased a bit.
What about the namespace of the MasterRNG
? - But this might be the topic of another PR.
@@ -46,6 +46,7 @@ | |||
|
|||
|
|||
from gstools.random import MasterRNG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import gstools as gs
?
@@ -7,30 +7,25 @@ | |||
then create a random field at those coordinates. | |||
""" | |||
import numpy as np | |||
import matplotlib.pyplot as pt | |||
from gstools import SRF, Exponential | |||
from gstools.random import MasterRNG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should MasterRNG
actually be in the gstools
namespace? - Not so much going on in gstools.random
and MasterRNG
is self-explanatory enough to not confuse people.
pt.axes().set_aspect('equal') | ||
pt.show() | ||
ax.tricontourf(x2, y2, field2.T) | ||
ax.set_aspect("equal") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
show()
this stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
With this PR the following stuff is proposed:
import gstools as gs
everywherecor
method is now automatically added to every cov-model__init__.py
, solving Routines missing in documentation #47Question
Should we use the autosummary elsewhere in the documentation?