Skip to content

Commit 46b402f

Browse files
committed
correct indentation
1 parent 58417fb commit 46b402f

File tree

1 file changed

+29
-28
lines changed

1 file changed

+29
-28
lines changed

cleopatra/array_glyph.py

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -589,12 +589,13 @@ def plot(
589589
size of the color bar label. The default is 12.
590590
cbar_label: str, optional
591591
label of the color bar. The default is 'Discharge m3/s'.
592-
color_scale : integer, optional
593-
there are 5 options to change the scale of the colors. The default is 1.
592+
color_scale : integer, optional, default is 1.
593+
there are 5 options to change the scale of the colors.
594594
1- `linear`:
595595
linear scale.
596-
2- `power` for the power scale
597-
Linearly map a given value to the 0-1 range and then apply a power-law normalization over that
596+
2- `power`:
597+
for the power scale. Linearly map a given value to the 0-1 range and then apply a power-law
598+
normalization over that
598599
range.
599600
3- `sym-lognorm`:
600601
the symmetrical logarithmic scale `SymLogNorm` is logarithmic in both the positive and
@@ -679,9 +680,9 @@ def plot(
679680
... cmap="coolwarm_r",
680681
... )
681682
682-
.. image:: /_images/power-scale.png
683-
:alt: Example Image
684-
:align: center
683+
.. image:: /_images/power-scale.png
684+
:alt: Example Image
685+
:align: center
685686
686687
- change the gamma of 0.8.
687688
@@ -694,9 +695,9 @@ def plot(
694695
... cmap="coolwarm_r",
695696
... )
696697
697-
.. image:: /_images/power-scale-gamma-0.8.png
698-
:alt: Example Image
699-
:align: center
698+
.. image:: /_images/power-scale-gamma-0.8.png
699+
:alt: Example Image
700+
:align: center
700701
701702
- change the gamma of 0.1.
702703
@@ -709,9 +710,9 @@ def plot(
709710
... cmap="coolwarm_r",
710711
... )
711712
712-
.. image:: /_images/power-scale-gamma-0.1.png
713-
:alt: Example Image
714-
:align: center
713+
.. image:: /_images/power-scale-gamma-0.1.png
714+
:alt: Example Image
715+
:align: center
715716
716717
- Logarithmic scale.
717718
@@ -723,9 +724,9 @@ def plot(
723724
... cmap="coolwarm_r",
724725
... )
725726
726-
.. image:: /_images/log-scale.png
727-
:alt: Example Image
728-
:align: center
727+
.. image:: /_images/log-scale.png
728+
:alt: Example Image
729+
:align: center
729730
730731
- Logarithmic scale.
731732
@@ -739,9 +740,9 @@ def plot(
739740
... line_scale=0.001,
740741
... )
741742
742-
.. image:: /_images/log-scale.png
743-
:alt: Example Image
744-
:align: center
743+
.. image:: /_images/log-scale.png
744+
:alt: Example Image
745+
:align: center
745746
746747
- Defined boundary scale.
747748
@@ -753,9 +754,9 @@ def plot(
753754
... cmap="coolwarm_r",
754755
... )
755756
756-
.. image:: /_images/boundary-scale.png
757-
:alt: Example Image
758-
:align: center
757+
.. image:: /_images/boundary-scale.png
758+
:alt: Example Image
759+
:align: center
759760
760761
- You can also define the boundaries.
761762
@@ -771,9 +772,9 @@ def plot(
771772
... cmap="coolwarm_r",
772773
... )
773774
774-
.. image:: /_images/boundary-scale-defined-bounds.png
775-
:alt: Example Image
776-
:align: center
775+
.. image:: /_images/boundary-scale-defined-bounds.png
776+
:alt: Example Image
777+
:align: center
777778
778779
- Midpoint scale.
779780
@@ -785,9 +786,9 @@ def plot(
785786
... cmap="coolwarm_r",
786787
... )
787788
788-
.. image:: /_images/midpoint-scale.png
789-
:alt: Example Image
790-
:align: center
789+
.. image:: /_images/midpoint-scale.png
790+
:alt: Example Image
791+
:align: center
791792
"""
792793
for key, val in kwargs.items():
793794
if key not in self.default_options.keys():

0 commit comments

Comments
 (0)