Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Nov 21, 2023
1 parent 93b4bb6 commit 5fa1cd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/user_guide/simple_inversion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@
"spacing = 1000\n",
"region = [0, 80000, 0, 60000]\n",
"\n",
"# create sythetic topography data\n",
"# create synthetic topography data\n",
"true_topography = synthetic.synthetic_topography_simple(\n",
" spacing,\n",
" region,\n",
Expand Down
4 changes: 2 additions & 2 deletions src/invert4geom/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def plot_inversion_iteration_results(
parameters : dict[str, typing.Any]
inversion parameters resulting from the inversion
iterations : list[int]
list of all the iteration numbers which occured in the inversion
list of all the iteration numbers which occurred in the inversion
topo_cmap_perc : float, optional
value to multiply the max and min colorscale values by, by default 1
misfit_cmap_perc : float, optional
Expand Down Expand Up @@ -564,7 +564,7 @@ def plot_inversion_results(
# list of iterations, e.g. [1,2,3,4]
its = [int(s[5:][:-15]) for s in misfits]

# get on x amonut of iterations to plot
# get on x amount of iterations to plot
if iters_to_plot is not None:
if iters_to_plot > max(its):
iterations = its
Expand Down

0 comments on commit 5fa1cd0

Please sign in to comment.