Skip to content

Commit 8e2c89a

Browse files
committed
corrected typo in the docstrings
1 parent 97f7db8 commit 8e2c89a

File tree

8 files changed

+39
-39
lines changed

8 files changed

+39
-39
lines changed

tidy3d/components/base_sim/simulation.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def plot(
277277
fill_structures : bool = True
278278
Whether to fill structures with color or just draw outlines.
279279
transpose : bool = False
280-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
280+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
281281
Returns
282282
-------
283283
matplotlib.axes._subplots.Axes
@@ -338,7 +338,7 @@ def plot_sources(
338338
ax : matplotlib.axes._subplots.Axes = None
339339
Matplotlib axes to plot on, if not specified, one is created.
340340
transpose : bool = False
341-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
341+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
342342
343343
Returns
344344
-------
@@ -389,7 +389,7 @@ def plot_monitors(
389389
ax : matplotlib.axes._subplots.Axes = None
390390
Matplotlib axes to plot on, if not specified, one is created.
391391
transpose : bool = False
392-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
392+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
393393
394394
Returns
395395
-------
@@ -509,7 +509,7 @@ def plot_boundaries(
509509
ax : matplotlib.axes._subplots.Axes = None
510510
Matplotlib axes to plot on, if not specified, one is created.
511511
transpose : bool = False
512-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
512+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
513513
**kwargs
514514
Optional keyword arguments passed to the matplotlib ``LineCollection``.
515515
For details on accepted values, refer to
@@ -553,7 +553,7 @@ def plot_structures(
553553
fill : bool = True
554554
Whether to fill structures with color or just draw outlines.
555555
transpose : bool = False
556-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
556+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
557557
558558
Returns
559559
-------
@@ -614,7 +614,7 @@ def plot_structures_eps(
614614
vlim : Tuple[float, float] = None
615615
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
616616
transpose : bool = False
617-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
617+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
618618
619619
Returns
620620
-------
@@ -684,7 +684,7 @@ def plot_structures_heat_conductivity(
684684
vlim : Tuple[float, float] = None
685685
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
686686
transpose : bool = False
687-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
687+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
688688
689689
Returns
690690
-------

tidy3d/components/eme/simulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ def plot(
472472
vlim : Tuple[float, float] = None
473473
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
474474
transpose : bool = False
475-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
475+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
476476
477477
Returns
478478
-------

tidy3d/components/mode/mode_solver.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def _get_solver_grid(
345345
truncate_symmetry : bool = True
346346
Truncate to symmetry quadrant if symmetry present.
347347
transpose : bool = False
348-
Swap the coordinates in the plane. (This overrides the default lexicographic axis order).
348+
Swap the coordinates in the plane. (This overrides the default lexicographic axis order.)
349349
350350
Returns
351351
-------
@@ -2109,7 +2109,7 @@ def plot(
21092109
ax : matplotlib.axes._subplots.Axes = None
21102110
Matplotlib axes to plot on, if not specified, one is created.
21112111
transpose : bool = False
2112-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
2112+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
21132113
21142114
Returns
21152115
-------
@@ -2165,7 +2165,7 @@ def plot_eps(
21652165
ax : matplotlib.axes._subplots.Axes = None
21662166
Matplotlib axes to plot on, if not specified, one is created.
21672167
transpose : bool = False
2168-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
2168+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
21692169
21702170
Returns
21712171
-------
@@ -2230,7 +2230,7 @@ def plot_structures_eps(
22302230
ax : matplotlib.axes._subplots.Axes = None
22312231
Matplotlib axes to plot on, if not specified, one is created.
22322232
transpose : bool = False
2233-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
2233+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
22342234
22352235
Returns
22362236
-------
@@ -2279,7 +2279,7 @@ def plot_grid(
22792279
ax : matplotlib.axes._subplots.Axes = None
22802280
Matplotlib axes to plot on, if not specified, one is created.
22812281
transpose : bool = False
2282-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
2282+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
22832283
**kwargs
22842284
Optional keyword arguments passed to the matplotlib ``LineCollection``.
22852285
For details on accepted values, refer to
@@ -2430,7 +2430,7 @@ def plot_pml(
24302430
ax : matplotlib.axes._subplots.Axes = None
24312431
Matplotlib axes to plot on, if not specified, one is created.
24322432
transpose : bool = False
2433-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
2433+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
24342434
24352435
Returns
24362436
-------

tidy3d/components/scene.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def plot(
425425
fill_structures : bool = True
426426
Whether to fill structures with color or just draw outlines.
427427
transpose : bool = False
428-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
428+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
429429
430430
Returns
431431
-------
@@ -471,7 +471,7 @@ def plot_structures(
471471
fill : bool = True
472472
Whether to fill structures with color or just draw outlines.
473473
transpose : bool = False
474-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
474+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
475475
476476
Returns
477477
-------
@@ -611,7 +611,7 @@ def _set_plot_bounds(
611611
vlim : Tuple[float, float] = None
612612
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
613613
transpose : bool = False
614-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
614+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
615615
616616
Returns
617617
-------
@@ -650,7 +650,7 @@ def _get_structures_2dbox(
650650
vlim : Tuple[float, float] = None
651651
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
652652
transpose : bool = False
653-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
653+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
654654
655655
Returns
656656
-------
@@ -786,7 +786,7 @@ def plot_eps(
786786
vlim : Tuple[float, float] = None
787787
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
788788
transpose : bool = False
789-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
789+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
790790
791791
Returns
792792
-------
@@ -856,7 +856,7 @@ def plot_structures_eps(
856856
e.g. ``"xx"``, ``"yy"``, ``"zz"``, ``"xy"``, ``"yz"``, ...
857857
Defaults to ``None``, which returns the average of the diagonal values.
858858
transpose : bool = False
859-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
859+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
860860
861861
Returns
862862
-------
@@ -940,7 +940,7 @@ def plot_structures_property(
940940
e.g. ``"xx"``, ``"yy"``, ``"zz"``, ``"xy"``, ``"yz"``, ...
941941
Defaults to ``None``, which returns the average of the diagonal values.
942942
transpose : bool = False
943-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
943+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
944944
945945
Returns
946946
-------
@@ -1404,7 +1404,7 @@ def plot_heat_charge_property(
14041404
vlim : Tuple[float, float] = None
14051405
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
14061406
transpose : bool = False
1407-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
1407+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
14081408
14091409
Returns
14101410
-------
@@ -1461,7 +1461,7 @@ def plot_structures_heat_conductivity(
14611461
vlim : Tuple[float, float] = None
14621462
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
14631463
transpose : bool = False
1464-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
1464+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
14651465
14661466
Returns
14671467
-------
@@ -1531,7 +1531,7 @@ def plot_structures_heat_charge_property(
15311531
vlim : Tuple[float, float] = None
15321532
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
15331533
transpose : bool = False
1534-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
1534+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
15351535
15361536
Returns
15371537
-------
@@ -1750,7 +1750,7 @@ def plot_heat_conductivity(
17501750
vlim : Tuple[float, float] = None
17511751
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
17521752
transpose : bool = False
1753-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
1753+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
17541754
17551755
Returns
17561756
-------

tidy3d/components/simulation.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def plot(
479479
vlim : Tuple[float, float] = None
480480
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
481481
transpose : bool = False
482-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
482+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
483483
484484
Returns
485485
-------
@@ -576,7 +576,7 @@ def plot_eps(
576576
eps_lim : Tuple[float, float] = None
577577
Custom limits for eps coloring.
578578
transpose : bool = False
579-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
579+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
580580
581581
Returns
582582
-------
@@ -685,7 +685,7 @@ def plot_structures_eps(
685685
eps_lim : Tuple[float, float] = None
686686
Custom limits for eps coloring.
687687
transpose : bool = False
688-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
688+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
689689
690690
Returns
691691
-------
@@ -755,7 +755,7 @@ def plot_pml(
755755
ax : matplotlib.axes._subplots.Axes = None
756756
Matplotlib axes to plot on, if not specified, one is created.
757757
transpose : bool = False
758-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
758+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
759759
760760
Returns
761761
-------
@@ -918,7 +918,7 @@ def plot_lumped_elements(
918918
ax : matplotlib.axes._subplots.Axes = None
919919
Matplotlib axes to plot on, if not specified, one is created.
920920
transpose : bool = False
921-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
921+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
922922
923923
Returns
924924
-------
@@ -969,7 +969,7 @@ def plot_grid(
969969
ax : matplotlib.axes._subplots.Axes = None
970970
Matplotlib axes to plot on, if not specified, one is created.
971971
transpose : bool = False
972-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
972+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
973973
**kwargs
974974
Optional keyword arguments passed to the matplotlib ``LineCollection``.
975975
For details on accepted values, refer to
@@ -1111,7 +1111,7 @@ def plot_boundaries(
11111111
ax : matplotlib.axes._subplots.Axes = None
11121112
Matplotlib axes to plot on, if not specified, one is created.
11131113
transpose : bool = False
1114-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
1114+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
11151115
**kwargs
11161116
Optional keyword arguments passed to the matplotlib ``LineCollection``.
11171117
For details on accepted values, refer to

tidy3d/components/structure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def plot(
165165
ax : matplotlib.axes._subplots.Axes = None
166166
Matplotlib axes to plot on, if not specified, one is created.
167167
transpose : bool = False
168-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
168+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
169169
**patch_kwargs
170170
Optional keyword arguments passed to the matplotlib patch plotting of structure.
171171
For details on accepted values, refer to

tidy3d/components/tcad/simulation/heat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def plot_heat_conductivity(
9999
vlim : Tuple[float, float] = None
100100
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
101101
transpose : bool = False
102-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
102+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
103103
104104
Returns
105105
-------

tidy3d/components/tcad/simulation/heat_charge.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ def plot_property(
994994
vlim : Tuple[float, float] = None
995995
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
996996
transpose : bool = False
997-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
997+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
998998
999999
Returns
10001000
-------
@@ -1100,7 +1100,7 @@ def plot_heat_conductivity(
11001100
vlim : Tuple[float, float] = None
11011101
The z range if plotting on xz or yz planes, y plane if plotting on xy plane.
11021102
transpose : bool = False
1103-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
1103+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
11041104
11051105
Returns
11061106
-------
@@ -1161,7 +1161,7 @@ def plot_boundaries(
11611161
ax : matplotlib.axes._subplots.Axes = None
11621162
Matplotlib axes to plot on, if not specified, one is created.
11631163
transpose : bool = False
1164-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
1164+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
11651165
11661166
Returns
11671167
-------
@@ -1473,7 +1473,7 @@ def _construct_heat_charge_boundaries(
14731473
boundary_spec : List[HeatBoundarySpec]
14741474
list of boundary conditions associated with structures.
14751475
transpose : bool = False
1476-
Swap the boundary-box coordinates in the plane. (This overrides the default lexicographic axis order).
1476+
Swap the boundary-box coordinates in the plane. (This overrides the default lexicographic axis order.)
14771477
14781478
Returns
14791479
-------
@@ -1559,7 +1559,7 @@ def plot_sources(
15591559
ax : matplotlib.axes._subplots.Axes = None
15601560
Matplotlib axes to plot on, if not specified, one is created.
15611561
transpose : bool = False
1562-
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order).
1562+
Swap horizontal and vertical axes. (This overrides the default lexicographic axis order.)
15631563
15641564
Returns
15651565
-------

0 commit comments

Comments
 (0)