Closed hechtprojects closed 5 months ago
https://amepproject.de/_autosummary/amep.spatialcor.pcf_angle.html
Within the example, the line import numpy as np is missing. Additionally, the plotting is incorrect.
import numpy as np
Add >>> import numpy as np to the example in the doc string of amep.spatialcor.pcf_angle.
>>> import numpy as np
amep.spatialcor.pcf_angle
Replace the line mp = amep.plot.field(axs, grt, X, Y) with mp = amep.plot.field(axs, grt.T, X, Y) and add the resulting figure to the documentation.
mp = amep.plot.field(axs, grt, X, Y)
mp = amep.plot.field(axs, grt.T, X, Y)
I updated the example and added the corresponding figure to the documentation. The changes will be part of patch release v1.0.1.
Problem description:
https://amepproject.de/_autosummary/amep.spatialcor.pcf_angle.html
Within the example, the line
import numpy as np
is missing. Additionally, the plotting is incorrect.Suggested content improvement:
Add
>>> import numpy as np
to the example in the doc string ofamep.spatialcor.pcf_angle
.Replace the line
mp = amep.plot.field(axs, grt, X, Y)
withmp = amep.plot.field(axs, grt.T, X, Y)
and add the resulting figure to the documentation.