@@ -589,12 +589,13 @@ def plot(
589
589
size of the color bar label. The default is 12.
590
590
cbar_label: str, optional
591
591
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.
594
594
1- `linear`:
595
595
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
598
599
range.
599
600
3- `sym-lognorm`:
600
601
the symmetrical logarithmic scale `SymLogNorm` is logarithmic in both the positive and
@@ -679,9 +680,9 @@ def plot(
679
680
... cmap="coolwarm_r",
680
681
... )
681
682
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
685
686
686
687
- change the gamma of 0.8.
687
688
@@ -694,9 +695,9 @@ def plot(
694
695
... cmap="coolwarm_r",
695
696
... )
696
697
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
700
701
701
702
- change the gamma of 0.1.
702
703
@@ -709,9 +710,9 @@ def plot(
709
710
... cmap="coolwarm_r",
710
711
... )
711
712
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
715
716
716
717
- Logarithmic scale.
717
718
@@ -723,9 +724,9 @@ def plot(
723
724
... cmap="coolwarm_r",
724
725
... )
725
726
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
729
730
730
731
- Logarithmic scale.
731
732
@@ -739,9 +740,9 @@ def plot(
739
740
... line_scale=0.001,
740
741
... )
741
742
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
745
746
746
747
- Defined boundary scale.
747
748
@@ -753,9 +754,9 @@ def plot(
753
754
... cmap="coolwarm_r",
754
755
... )
755
756
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
759
760
760
761
- You can also define the boundaries.
761
762
@@ -771,9 +772,9 @@ def plot(
771
772
... cmap="coolwarm_r",
772
773
... )
773
774
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
777
778
778
779
- Midpoint scale.
779
780
@@ -785,9 +786,9 @@ def plot(
785
786
... cmap="coolwarm_r",
786
787
... )
787
788
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
791
792
"""
792
793
for key , val in kwargs .items ():
793
794
if key not in self .default_options .keys ():
0 commit comments