lets-plot 4.7.0rc3__cp311-cp311-macosx_11_0_arm64.whl → 4.7.1rc1__cp311-cp311-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of lets-plot might be problematic. Click here for more details.

Files changed (61) hide show
  1. lets_plot/__init__.py +14 -14
  2. lets_plot/_global_settings.py +0 -4
  3. lets_plot/_kbridge.py +11 -3
  4. lets_plot/_version.py +1 -1
  5. lets_plot/bistro/corr.py +28 -27
  6. lets_plot/bistro/im.py +4 -4
  7. lets_plot/bistro/joint.py +7 -7
  8. lets_plot/bistro/qq.py +16 -16
  9. lets_plot/bistro/residual.py +10 -10
  10. lets_plot/bistro/waterfall.py +26 -27
  11. lets_plot/export/ggsave_.py +29 -17
  12. lets_plot/frontend_context/_configuration.py +2 -2
  13. lets_plot/frontend_context/_html_contexts.py +6 -6
  14. lets_plot/geo_data/core.py +26 -22
  15. lets_plot/geo_data/geocoder.py +67 -56
  16. lets_plot/mapping.py +3 -3
  17. lets_plot/package_data/lets-plot.min.js +1 -1
  18. lets_plot/plot/annotation.py +5 -5
  19. lets_plot/plot/coord.py +4 -4
  20. lets_plot/plot/core.py +77 -141
  21. lets_plot/plot/expand_limits_.py +2 -2
  22. lets_plot/plot/facet.py +21 -17
  23. lets_plot/plot/font_features.py +3 -3
  24. lets_plot/plot/geom.py +1129 -1103
  25. lets_plot/plot/geom_extras.py +1 -1
  26. lets_plot/plot/geom_function_.py +16 -13
  27. lets_plot/plot/geom_imshow_.py +8 -7
  28. lets_plot/plot/geom_livemap_.py +38 -13
  29. lets_plot/plot/ggbunch_.py +1 -1
  30. lets_plot/plot/gggrid_.py +3 -3
  31. lets_plot/plot/ggtb_.py +1 -1
  32. lets_plot/plot/guide.py +9 -7
  33. lets_plot/plot/label.py +9 -9
  34. lets_plot/plot/marginal_layer.py +4 -4
  35. lets_plot/plot/plot.py +17 -16
  36. lets_plot/plot/pos.py +15 -15
  37. lets_plot/plot/sampling.py +8 -8
  38. lets_plot/plot/scale.py +153 -150
  39. lets_plot/plot/scale_colormap_mpl.py +9 -6
  40. lets_plot/plot/scale_convenience.py +6 -6
  41. lets_plot/plot/scale_identity_.py +9 -9
  42. lets_plot/plot/scale_position.py +16 -16
  43. lets_plot/plot/series_meta.py +7 -1
  44. lets_plot/plot/stat.py +64 -60
  45. lets_plot/plot/subplots.py +31 -22
  46. lets_plot/plot/theme_.py +93 -92
  47. lets_plot/plot/theme_set.py +15 -14
  48. lets_plot/plot/tooltip.py +14 -14
  49. lets_plot/plot/util.py +33 -3
  50. lets_plot/settings_utils.py +12 -12
  51. {lets_plot-4.7.0rc3.dist-info → lets_plot-4.7.1rc1.dist-info}/METADATA +62 -43
  52. lets_plot-4.7.1rc1.dist-info/RECORD +95 -0
  53. lets_plot_kotlin_bridge.cpython-311-darwin.so +0 -0
  54. lets_plot-4.7.0rc3.dist-info/RECORD +0 -95
  55. {lets_plot-4.7.0rc3.dist-info → lets_plot-4.7.1rc1.dist-info}/WHEEL +0 -0
  56. {lets_plot-4.7.0rc3.dist-info → lets_plot-4.7.1rc1.dist-info}/licenses/LICENSE +0 -0
  57. {lets_plot-4.7.0rc3.dist-info → lets_plot-4.7.1rc1.dist-info}/licenses/licenses/LICENSE.FreeType +0 -0
  58. {lets_plot-4.7.0rc3.dist-info → lets_plot-4.7.1rc1.dist-info}/licenses/licenses/LICENSE.ImageMagick +0 -0
  59. {lets_plot-4.7.0rc3.dist-info → lets_plot-4.7.1rc1.dist-info}/licenses/licenses/LICENSE.expat +0 -0
  60. {lets_plot-4.7.0rc3.dist-info → lets_plot-4.7.1rc1.dist-info}/licenses/licenses/LICENSE.fontconfig +0 -0
  61. {lets_plot-4.7.0rc3.dist-info → lets_plot-4.7.1rc1.dist-info}/top_level.txt +0 -0
lets_plot/plot/scale.py CHANGED
@@ -48,7 +48,7 @@ def scale_shape(solid=True, name=None, breaks=None, labels=None, lablim=None, li
48
48
  na_value
49
49
  Missing values will be replaced with this value.
50
50
  guide
51
- A result returned by `guide_legend()` function or 'none' to hide the guide.
51
+ A result returned by `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__ function or 'none' to hide the guide.
52
52
  format : str
53
53
  Define the format for labels on the scale. The syntax resembles Python's:
54
54
 
@@ -60,7 +60,7 @@ def scale_shape(solid=True, name=None, breaks=None, labels=None, lablim=None, li
60
60
 
61
61
  Returns
62
62
  -------
63
- `FeatureSpec`
63
+ ``FeatureSpec``
64
64
  Scale specification.
65
65
 
66
66
  Notes
@@ -132,7 +132,7 @@ def scale_manual(aesthetic, values, *,
132
132
  Missing values will be replaced with this value.
133
133
  guide
134
134
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
135
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
135
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
136
136
  specifying additional arguments. 'none' will hide the guide.
137
137
  format : str
138
138
  Define the format for labels on the scale. The syntax resembles Python's:
@@ -145,7 +145,7 @@ def scale_manual(aesthetic, values, *,
145
145
 
146
146
  Returns
147
147
  -------
148
- `FeatureSpec` or `FeatureSpecArray`
148
+ ``FeatureSpec`` or ``FeatureSpecArray``
149
149
  Scales specification.
150
150
 
151
151
  Notes
@@ -200,7 +200,7 @@ def scale_manual(aesthetic, values, *,
200
200
  def scale_color_manual(values, name=None, breaks=None, labels=None, lablim=None, limits=None, na_value=None, guide=None,
201
201
  format=None):
202
202
  """
203
- Create your own discrete scale for `color` aesthetic.
203
+ Create your own discrete scale for ``color`` aesthetic.
204
204
 
205
205
  Parameters
206
206
  ----------
@@ -226,7 +226,7 @@ def scale_color_manual(values, name=None, breaks=None, labels=None, lablim=None,
226
226
  Missing values will be replaced with this value.
227
227
  guide
228
228
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
229
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
229
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
230
230
  specifying additional arguments. 'none' will hide the guide.
231
231
  format : str
232
232
  Define the format for labels on the scale. The syntax resembles Python's:
@@ -239,7 +239,7 @@ def scale_color_manual(values, name=None, breaks=None, labels=None, lablim=None,
239
239
 
240
240
  Returns
241
241
  -------
242
- `FeatureSpec`
242
+ ``FeatureSpec``
243
243
  Scale specification.
244
244
 
245
245
  Notes
@@ -275,7 +275,7 @@ def scale_color_manual(values, name=None, breaks=None, labels=None, lablim=None,
275
275
 
276
276
  def scale_fill_manual(values, name=None, breaks=None, labels=None, lablim=None, limits=None, na_value=None, guide=None, format=None):
277
277
  """
278
- Create your own discrete scale for `fill` aesthetic.
278
+ Create your own discrete scale for ``fill`` aesthetic.
279
279
 
280
280
  Parameters
281
281
  ----------
@@ -301,7 +301,7 @@ def scale_fill_manual(values, name=None, breaks=None, labels=None, lablim=None,
301
301
  Missing values will be replaced with this value.
302
302
  guide
303
303
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
304
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
304
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
305
305
  specifying additional arguments. 'none' will hide the guide.
306
306
  format : str
307
307
  Define the format for labels on the scale. The syntax resembles Python's:
@@ -314,12 +314,12 @@ def scale_fill_manual(values, name=None, breaks=None, labels=None, lablim=None,
314
314
 
315
315
  Returns
316
316
  -------
317
- `FeatureSpec`
317
+ ``FeatureSpec``
318
318
  Scale specification.
319
319
 
320
320
  Notes
321
321
  -----
322
- Create your own color scale for `fill` aesthetic. Values are strings, encoding filling colors.
322
+ Create your own color scale for ``fill`` aesthetic. Values are strings, encoding filling colors.
323
323
 
324
324
  Examples
325
325
  --------
@@ -350,7 +350,7 @@ def scale_fill_manual(values, name=None, breaks=None, labels=None, lablim=None,
350
350
 
351
351
  def scale_size_manual(values, name=None, breaks=None, labels=None, lablim=None, limits=None, na_value=None, guide=None, format=None):
352
352
  """
353
- Create your own discrete scale for `size` aesthetic.
353
+ Create your own discrete scale for ``size`` aesthetic.
354
354
 
355
355
  Parameters
356
356
  ----------
@@ -375,7 +375,7 @@ def scale_size_manual(values, name=None, breaks=None, labels=None, lablim=None,
375
375
  na_value
376
376
  Missing values will be replaced with this value.
377
377
  guide
378
- A result returned by `guide_legend()` function or 'none' to hide the guide.
378
+ A result returned by `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__ function or 'none' to hide the guide.
379
379
  format : str
380
380
  Define the format for labels on the scale. The syntax resembles Python's:
381
381
 
@@ -387,12 +387,12 @@ def scale_size_manual(values, name=None, breaks=None, labels=None, lablim=None,
387
387
 
388
388
  Returns
389
389
  -------
390
- `FeatureSpec`
390
+ ``FeatureSpec``
391
391
  Scale specification.
392
392
 
393
393
  Notes
394
394
  -----
395
- Create your own discrete scale for `size` aesthetic. Values are numbers, defining sizes.
395
+ Create your own discrete scale for ``size`` aesthetic. Values are numbers, defining sizes.
396
396
 
397
397
  Examples
398
398
  --------
@@ -425,7 +425,7 @@ def scale_size_manual(values, name=None, breaks=None, labels=None, lablim=None,
425
425
  def scale_shape_manual(values, name=None, breaks=None, labels=None, lablim=None, limits=None, na_value=None, guide=None,
426
426
  format=None):
427
427
  """
428
- Create your own discrete scale for `shape` aesthetic.
428
+ Create your own discrete scale for ``shape`` aesthetic.
429
429
 
430
430
  Parameters
431
431
  ----------
@@ -450,7 +450,7 @@ def scale_shape_manual(values, name=None, breaks=None, labels=None, lablim=None,
450
450
  na_value
451
451
  Missing values will be replaced with this value.
452
452
  guide
453
- A result returned by `guide_legend()` function or 'none' to hide the guide.
453
+ A result returned by `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__ function or 'none' to hide the guide.
454
454
  format : str
455
455
  Define the format for labels on the scale. The syntax resembles Python's:
456
456
 
@@ -462,12 +462,12 @@ def scale_shape_manual(values, name=None, breaks=None, labels=None, lablim=None,
462
462
 
463
463
  Returns
464
464
  -------
465
- `FeatureSpec`
465
+ ``FeatureSpec``
466
466
  Scale specification.
467
467
 
468
468
  Notes
469
469
  -----
470
- Create your own discrete scale for `size` aesthetic. Values are numbers, encoding shapes.
470
+ Create your own discrete scale for ``size`` aesthetic. Values are numbers, encoding shapes.
471
471
 
472
472
  Examples
473
473
  --------
@@ -525,7 +525,7 @@ def scale_linetype_manual(values, name=None, breaks=None, labels=None, lablim=No
525
525
  na_value
526
526
  Missing values will be replaced with this value.
527
527
  guide
528
- A result returned by `guide_legend()` function or 'none' to hide the guide.
528
+ A result returned by `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__ function or 'none' to hide the guide.
529
529
  format : str
530
530
  Define the format for labels on the scale. The syntax resembles Python's:
531
531
 
@@ -537,7 +537,7 @@ def scale_linetype_manual(values, name=None, breaks=None, labels=None, lablim=No
537
537
 
538
538
  Returns
539
539
  -------
540
- `FeatureSpec`
540
+ ``FeatureSpec``
541
541
  Scale specification.
542
542
 
543
543
  Notes
@@ -576,7 +576,7 @@ def scale_linetype_manual(values, name=None, breaks=None, labels=None, lablim=No
576
576
  def scale_alpha_manual(values, name=None, breaks=None, labels=None, lablim=None, limits=None, na_value=None, guide=None,
577
577
  format=None):
578
578
  """
579
- Create your own discrete scale for `alpha` (transparency) aesthetic.
579
+ Create your own discrete scale for ``alpha`` (transparency) aesthetic.
580
580
 
581
581
  Parameters
582
582
  ----------
@@ -601,7 +601,7 @@ def scale_alpha_manual(values, name=None, breaks=None, labels=None, lablim=None,
601
601
  na_value
602
602
  Missing values will be replaced with this value.
603
603
  guide
604
- A result returned by `guide_legend()` function or 'none' to hide the guide.
604
+ A result returned by `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__ function or 'none' to hide the guide.
605
605
  format : str
606
606
  Define the format for labels on the scale. The syntax resembles Python's:
607
607
 
@@ -613,12 +613,12 @@ def scale_alpha_manual(values, name=None, breaks=None, labels=None, lablim=None,
613
613
 
614
614
  Returns
615
615
  -------
616
- `FeatureSpec`
616
+ ``FeatureSpec``
617
617
  Scale specification.
618
618
 
619
619
  Notes
620
620
  -----
621
- Create your own discrete scale for `alpha` (transparency) aesthetic.
621
+ Create your own discrete scale for ``alpha`` (transparency) aesthetic.
622
622
  Accept values between 0 and 1.
623
623
 
624
624
  Examples
@@ -695,7 +695,7 @@ def scale_continuous(aesthetic, *,
695
695
  Missing values will be replaced with this value.
696
696
  guide
697
697
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
698
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
698
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
699
699
  specifying additional arguments. 'none' will hide the guide.
700
700
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
701
701
  Name of built-in transformation.
@@ -715,7 +715,7 @@ def scale_continuous(aesthetic, *,
715
715
 
716
716
  Returns
717
717
  -------
718
- `FeatureSpec` or `FeatureSpecArray`
718
+ ``FeatureSpec`` or ``FeatureSpecArray``
719
719
  Scales specification.
720
720
 
721
721
  Notes
@@ -778,7 +778,7 @@ def scale_fill_continuous(name=None, breaks=None, labels=None, lablim=None,
778
778
  scale_mapper_kind=None,
779
779
  **kwargs):
780
780
  """
781
- Color scale for `fill` aesthetic and continuous data.
781
+ Color scale for ``fill`` aesthetic and continuous data.
782
782
 
783
783
  Parameters
784
784
  ----------
@@ -798,7 +798,7 @@ def scale_fill_continuous(name=None, breaks=None, labels=None, lablim=None,
798
798
  Missing values will be replaced with this value.
799
799
  guide
800
800
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
801
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
801
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
802
802
  specifying additional arguments. 'none' will hide the guide.
803
803
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
804
804
  Name of built-in transformation.
@@ -818,7 +818,7 @@ def scale_fill_continuous(name=None, breaks=None, labels=None, lablim=None,
818
818
 
819
819
  Returns
820
820
  -------
821
- `FeatureSpec`
821
+ ``FeatureSpec``
822
822
  Scale specification.
823
823
 
824
824
 
@@ -857,7 +857,7 @@ def scale_color_continuous(name=None, breaks=None, labels=None, lablim=None, lim
857
857
  scale_mapper_kind=None,
858
858
  **kwargs):
859
859
  """
860
- Color scale for `color` aesthetic and continuous data.
860
+ Color scale for ``color`` aesthetic and continuous data.
861
861
 
862
862
  Parameters
863
863
  ----------
@@ -877,7 +877,7 @@ def scale_color_continuous(name=None, breaks=None, labels=None, lablim=None, lim
877
877
  Missing values will be replaced with this value.
878
878
  guide
879
879
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
880
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
880
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
881
881
  specifying additional arguments. 'none' will hide the guide.
882
882
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
883
883
  Name of built-in transformation.
@@ -897,7 +897,7 @@ def scale_color_continuous(name=None, breaks=None, labels=None, lablim=None, lim
897
897
 
898
898
  Returns
899
899
  -------
900
- `FeatureSpec`
900
+ ``FeatureSpec``
901
901
  Scale specification.
902
902
 
903
903
  Examples
@@ -964,7 +964,7 @@ def scale_gradient(aesthetic, *,
964
964
  Missing values will be replaced with this value.
965
965
  guide
966
966
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
967
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
967
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
968
968
  specifying additional arguments. 'none' will hide the guide.
969
969
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
970
970
  Name of built-in transformation.
@@ -979,7 +979,7 @@ def scale_gradient(aesthetic, *,
979
979
 
980
980
  Returns
981
981
  -------
982
- `FeatureSpec` or `FeatureSpecArray`
982
+ ``FeatureSpec`` or ``FeatureSpecArray``
983
983
  Scales specification.
984
984
 
985
985
  Notes
@@ -1020,7 +1020,7 @@ def scale_gradient(aesthetic, *,
1020
1020
  def scale_fill_gradient(low=None, high=None, name=None, breaks=None, labels=None, lablim=None,
1021
1021
  limits=None, na_value=None, guide=None, trans=None, format=None):
1022
1022
  """
1023
- Define smooth color gradient between two colors for `fill` aesthetic.
1023
+ Define smooth color gradient between two colors for ``fill`` aesthetic.
1024
1024
 
1025
1025
  Parameters
1026
1026
  ----------
@@ -1046,7 +1046,7 @@ def scale_fill_gradient(low=None, high=None, name=None, breaks=None, labels=None
1046
1046
  Missing values will be replaced with this value.
1047
1047
  guide
1048
1048
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1049
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1049
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1050
1050
  specifying additional arguments. 'none' will hide the guide.
1051
1051
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
1052
1052
  Name of built-in transformation.
@@ -1061,12 +1061,12 @@ def scale_fill_gradient(low=None, high=None, name=None, breaks=None, labels=None
1061
1061
 
1062
1062
  Returns
1063
1063
  -------
1064
- `FeatureSpec`
1064
+ ``FeatureSpec``
1065
1065
  Scale specification.
1066
1066
 
1067
1067
  Notes
1068
1068
  -----
1069
- Define smooth gradient between two colors (defined by low and high) for `fill` aesthetic.
1069
+ Define smooth gradient between two colors (defined by low and high) for ``fill`` aesthetic.
1070
1070
 
1071
1071
  Examples
1072
1072
  --------
@@ -1100,7 +1100,7 @@ def scale_fill_gradient(low=None, high=None, name=None, breaks=None, labels=None
1100
1100
  def scale_color_gradient(low=None, high=None, name=None, breaks=None, labels=None, lablim=None, limits=None,
1101
1101
  na_value=None, guide=None, trans=None, format=None):
1102
1102
  """
1103
- Define smooth color gradient between two colors for `color` aesthetic.
1103
+ Define smooth color gradient between two colors for ``color`` aesthetic.
1104
1104
 
1105
1105
  Parameters
1106
1106
  ----------
@@ -1126,7 +1126,7 @@ def scale_color_gradient(low=None, high=None, name=None, breaks=None, labels=Non
1126
1126
  Missing values will be replaced with this value.
1127
1127
  guide
1128
1128
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1129
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1129
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1130
1130
  specifying additional arguments. 'none' will hide the guide.
1131
1131
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
1132
1132
  Name of built-in transformation.
@@ -1141,12 +1141,12 @@ def scale_color_gradient(low=None, high=None, name=None, breaks=None, labels=Non
1141
1141
 
1142
1142
  Returns
1143
1143
  -------
1144
- `FeatureSpec`
1144
+ ``FeatureSpec``
1145
1145
  Scale specification.
1146
1146
 
1147
1147
  Notes
1148
1148
  -----
1149
- Define smooth gradient between two colors (defined by low and high) for `color` aesthetic.
1149
+ Define smooth gradient between two colors (defined by low and high) for ``color`` aesthetic.
1150
1150
 
1151
1151
  Examples
1152
1152
  --------
@@ -1213,7 +1213,7 @@ def scale_gradient2(aesthetic, *,
1213
1213
  Missing values will be replaced with this value.
1214
1214
  guide
1215
1215
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1216
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1216
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1217
1217
  specifying additional arguments. 'none' will hide the guide.
1218
1218
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
1219
1219
  Name of built-in transformation.
@@ -1228,7 +1228,7 @@ def scale_gradient2(aesthetic, *,
1228
1228
 
1229
1229
  Returns
1230
1230
  -------
1231
- `FeatureSpec` or `FeatureSpecArray`
1231
+ ``FeatureSpec`` or ``FeatureSpecArray``
1232
1232
  Scales specification.
1233
1233
 
1234
1234
  Notes
@@ -1270,7 +1270,7 @@ def scale_gradient2(aesthetic, *,
1270
1270
  def scale_fill_gradient2(low=None, mid=None, high=None, midpoint=0, name=None, breaks=None, labels=None, lablim=None, limits=None,
1271
1271
  na_value=None, guide=None, trans=None, format=None):
1272
1272
  """
1273
- Define diverging color gradient for `fill` aesthetic.
1273
+ Define diverging color gradient for ``fill`` aesthetic.
1274
1274
 
1275
1275
  Parameters
1276
1276
  ----------
@@ -1300,7 +1300,7 @@ def scale_fill_gradient2(low=None, mid=None, high=None, midpoint=0, name=None, b
1300
1300
  Missing values will be replaced with this value.
1301
1301
  guide
1302
1302
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1303
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1303
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1304
1304
  specifying additional arguments. 'none' will hide the guide.
1305
1305
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
1306
1306
  Name of built-in transformation.
@@ -1315,12 +1315,12 @@ def scale_fill_gradient2(low=None, mid=None, high=None, midpoint=0, name=None, b
1315
1315
 
1316
1316
  Returns
1317
1317
  -------
1318
- `FeatureSpec`
1318
+ ``FeatureSpec``
1319
1319
  Scale specification.
1320
1320
 
1321
1321
  Notes
1322
1322
  -----
1323
- Define diverging color gradient for `fill` aesthetic. Default mid point is set to white color.
1323
+ Define diverging color gradient for ``fill`` aesthetic. Default mid point is set to white color.
1324
1324
 
1325
1325
  Examples
1326
1326
  --------
@@ -1355,7 +1355,7 @@ def scale_fill_gradient2(low=None, mid=None, high=None, midpoint=0, name=None, b
1355
1355
  def scale_color_gradient2(low=None, mid=None, high=None, midpoint=0, name=None, breaks=None, labels=None, lablim=None,
1356
1356
  limits=None, na_value=None, guide=None, trans=None, format=None):
1357
1357
  """
1358
- Define diverging color gradient for `color` aesthetic.
1358
+ Define diverging color gradient for ``color`` aesthetic.
1359
1359
 
1360
1360
  Parameters
1361
1361
  ----------
@@ -1385,7 +1385,7 @@ def scale_color_gradient2(low=None, mid=None, high=None, midpoint=0, name=None,
1385
1385
  Missing values will be replaced with this value.
1386
1386
  guide
1387
1387
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1388
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1388
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1389
1389
  specifying additional arguments. 'none' will hide the guide.
1390
1390
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
1391
1391
  Name of built-in transformation.
@@ -1400,12 +1400,12 @@ def scale_color_gradient2(low=None, mid=None, high=None, midpoint=0, name=None,
1400
1400
 
1401
1401
  Returns
1402
1402
  -------
1403
- `FeatureSpec`
1403
+ ``FeatureSpec``
1404
1404
  Scale specification.
1405
1405
 
1406
1406
  Notes
1407
1407
  -----
1408
- Define diverging color gradient for `color` aesthetic. Default mid point is set to white color.
1408
+ Define diverging color gradient for ``color`` aesthetic. Default mid point is set to white color.
1409
1409
 
1410
1410
  Examples
1411
1411
  --------
@@ -1467,7 +1467,7 @@ def scale_gradientn(aesthetic, *,
1467
1467
  Missing values will be replaced with this value.
1468
1468
  guide
1469
1469
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1470
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1470
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1471
1471
  specifying additional arguments. 'none' will hide the guide.
1472
1472
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
1473
1473
  Name of built-in transformation.
@@ -1482,7 +1482,7 @@ def scale_gradientn(aesthetic, *,
1482
1482
 
1483
1483
  Returns
1484
1484
  -------
1485
- `FeatureSpec` or `FeatureSpecArray`
1485
+ ``FeatureSpec`` or ``FeatureSpecArray``
1486
1486
  Scales specification.
1487
1487
 
1488
1488
  Notes
@@ -1524,7 +1524,7 @@ def scale_gradientn(aesthetic, *,
1524
1524
  def scale_color_gradientn(colors=None, name=None, breaks=None, labels=None, lablim=None, limits=None,
1525
1525
  na_value=None, guide=None, trans=None, format=None):
1526
1526
  """
1527
- Define smooth color gradient between multiple colors for `color` aesthetic.
1527
+ Define smooth color gradient between multiple colors for ``color`` aesthetic.
1528
1528
 
1529
1529
  Parameters
1530
1530
  ----------
@@ -1548,7 +1548,7 @@ def scale_color_gradientn(colors=None, name=None, breaks=None, labels=None, labl
1548
1548
  Missing values will be replaced with this value.
1549
1549
  guide
1550
1550
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1551
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1551
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1552
1552
  specifying additional arguments. 'none' will hide the guide.
1553
1553
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
1554
1554
  Name of built-in transformation.
@@ -1563,12 +1563,12 @@ def scale_color_gradientn(colors=None, name=None, breaks=None, labels=None, labl
1563
1563
 
1564
1564
  Returns
1565
1565
  -------
1566
- `FeatureSpec`
1566
+ ``FeatureSpec``
1567
1567
  Scale specification.
1568
1568
 
1569
1569
  Notes
1570
1570
  -----
1571
- Define smooth color gradient between multiple colors for `color` aesthetic.
1571
+ Define smooth color gradient between multiple colors for ``color`` aesthetic.
1572
1572
 
1573
1573
  Examples
1574
1574
  --------
@@ -1603,7 +1603,7 @@ def scale_color_gradientn(colors=None, name=None, breaks=None, labels=None, labl
1603
1603
  def scale_fill_gradientn(colors=None, name=None, breaks=None, labels=None, lablim=None, limits=None,
1604
1604
  na_value=None, guide=None, trans=None, format=None):
1605
1605
  """
1606
- Define smooth color gradient between multiple colors for `fill` aesthetic.
1606
+ Define smooth color gradient between multiple colors for ``fill`` aesthetic.
1607
1607
 
1608
1608
  Parameters
1609
1609
  ----------
@@ -1627,7 +1627,7 @@ def scale_fill_gradientn(colors=None, name=None, breaks=None, labels=None, labli
1627
1627
  Missing values will be replaced with this value.
1628
1628
  guide
1629
1629
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1630
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1630
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1631
1631
  specifying additional arguments. 'none' will hide the guide.
1632
1632
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
1633
1633
  Name of built-in transformation.
@@ -1642,12 +1642,12 @@ def scale_fill_gradientn(colors=None, name=None, breaks=None, labels=None, labli
1642
1642
 
1643
1643
  Returns
1644
1644
  -------
1645
- `FeatureSpec`
1645
+ ``FeatureSpec``
1646
1646
  Scale specification.
1647
1647
 
1648
1648
  Notes
1649
1649
  -----
1650
- Define smooth color gradient between multiple colors for `fill` aesthetic.
1650
+ Define smooth color gradient between multiple colors for ``fill`` aesthetic.
1651
1651
 
1652
1652
  Examples
1653
1653
  --------
@@ -1715,7 +1715,7 @@ def scale_hue(aesthetic, *,
1715
1715
  Missing values will be replaced with this value.
1716
1716
  guide
1717
1717
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1718
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1718
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1719
1719
  specifying additional arguments. 'none' will hide the guide.
1720
1720
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
1721
1721
  Name of built-in transformation.
@@ -1730,7 +1730,7 @@ def scale_hue(aesthetic, *,
1730
1730
 
1731
1731
  Returns
1732
1732
  -------
1733
- `FeatureSpec` or `FeatureSpecArray`
1733
+ ``FeatureSpec`` or ``FeatureSpecArray``
1734
1734
  Scales specification.
1735
1735
 
1736
1736
  Notes
@@ -1772,7 +1772,7 @@ def scale_hue(aesthetic, *,
1772
1772
  def scale_fill_hue(h=None, c=None, l=None, h_start=None, direction=None, name=None, breaks=None, labels=None, lablim=None,
1773
1773
  limits=None, na_value=None, guide=None, trans=None, format=None):
1774
1774
  """
1775
- Qualitative color scale with evenly spaced hues for `fill` aesthetic.
1775
+ Qualitative color scale with evenly spaced hues for ``fill`` aesthetic.
1776
1776
 
1777
1777
  Parameters
1778
1778
  ----------
@@ -1804,7 +1804,7 @@ def scale_fill_hue(h=None, c=None, l=None, h_start=None, direction=None, name=No
1804
1804
  Missing values will be replaced with this value.
1805
1805
  guide
1806
1806
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1807
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1807
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1808
1808
  specifying additional arguments. 'none' will hide the guide.
1809
1809
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
1810
1810
  Name of built-in transformation.
@@ -1819,12 +1819,12 @@ def scale_fill_hue(h=None, c=None, l=None, h_start=None, direction=None, name=No
1819
1819
 
1820
1820
  Returns
1821
1821
  -------
1822
- `FeatureSpec`
1822
+ ``FeatureSpec``
1823
1823
  Scale specification.
1824
1824
 
1825
1825
  Notes
1826
1826
  -----
1827
- Define qualitative color scale with evenly spaced hues for `fill` aesthetic.
1827
+ Define qualitative color scale with evenly spaced hues for ``fill`` aesthetic.
1828
1828
 
1829
1829
  Examples
1830
1830
  --------
@@ -1860,7 +1860,7 @@ def scale_fill_hue(h=None, c=None, l=None, h_start=None, direction=None, name=No
1860
1860
  def scale_color_hue(h=None, c=None, l=None, h_start=None, direction=None, name=None, breaks=None, labels=None, lablim=None,
1861
1861
  limits=None, na_value=None, guide=None, trans=None, format=None):
1862
1862
  """
1863
- Qualitative color scale with evenly spaced hues for `color` aesthetic.
1863
+ Qualitative color scale with evenly spaced hues for ``color`` aesthetic.
1864
1864
 
1865
1865
  Parameters
1866
1866
  ----------
@@ -1890,7 +1890,7 @@ def scale_color_hue(h=None, c=None, l=None, h_start=None, direction=None, name=N
1890
1890
  Missing values will be replaced with this value.
1891
1891
  guide
1892
1892
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1893
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1893
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1894
1894
  specifying additional arguments. 'none' will hide the guide.
1895
1895
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
1896
1896
  Name of built-in transformation.
@@ -1905,12 +1905,12 @@ def scale_color_hue(h=None, c=None, l=None, h_start=None, direction=None, name=N
1905
1905
 
1906
1906
  Returns
1907
1907
  -------
1908
- `FeatureSpec`
1908
+ ``FeatureSpec``
1909
1909
  Scale specification.
1910
1910
 
1911
1911
  Notes
1912
1912
  -----
1913
- Define qualitative color scale with evenly spaced hues for `color` aesthetic.
1913
+ Define qualitative color scale with evenly spaced hues for ``color`` aesthetic.
1914
1914
 
1915
1915
  Examples
1916
1916
  --------
@@ -1981,7 +1981,7 @@ def scale_discrete(aesthetic, *,
1981
1981
  Missing values will be replaced with this value.
1982
1982
  guide
1983
1983
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
1984
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
1984
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
1985
1985
  specifying additional arguments. 'none' will hide the guide.
1986
1986
  format : str
1987
1987
  Define the format for labels on the scale. The syntax resembles Python's:
@@ -1999,7 +1999,7 @@ def scale_discrete(aesthetic, *,
1999
1999
 
2000
2000
  Returns
2001
2001
  -------
2002
- `FeatureSpec` or `FeatureSpecArray`
2002
+ ``FeatureSpec`` or ``FeatureSpecArray``
2003
2003
  Scales specification.
2004
2004
 
2005
2005
  Notes
@@ -2062,7 +2062,7 @@ def scale_fill_discrete(direction=None,
2062
2062
  scale_mapper_kind=None,
2063
2063
  **kwargs):
2064
2064
  """
2065
- Color scale for `fill` aesthetic and discrete data.
2065
+ Color scale for ``fill`` aesthetic and discrete data.
2066
2066
 
2067
2067
  Parameters
2068
2068
  ----------
@@ -2086,7 +2086,7 @@ def scale_fill_discrete(direction=None,
2086
2086
  Missing values will be replaced with this value.
2087
2087
  guide
2088
2088
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
2089
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
2089
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
2090
2090
  specifying additional arguments. 'none' will hide the guide.
2091
2091
  format : str
2092
2092
  Define the format for labels on the scale. The syntax resembles Python's:
@@ -2104,7 +2104,7 @@ def scale_fill_discrete(direction=None,
2104
2104
 
2105
2105
  Returns
2106
2106
  -------
2107
- `FeatureSpec`
2107
+ ``FeatureSpec``
2108
2108
  Scale specification.
2109
2109
 
2110
2110
  Examples
@@ -2144,7 +2144,7 @@ def scale_color_discrete(direction=None,
2144
2144
  scale_mapper_kind=None,
2145
2145
  **kwargs):
2146
2146
  """
2147
- Color scale for `color` aesthetic and discrete data.
2147
+ Color scale for ``color`` aesthetic and discrete data.
2148
2148
 
2149
2149
  Parameters
2150
2150
  ----------
@@ -2168,7 +2168,7 @@ def scale_color_discrete(direction=None,
2168
2168
  Missing values will be replaced with this value.
2169
2169
  guide
2170
2170
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
2171
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
2171
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
2172
2172
  specifying additional arguments. 'none' will hide the guide.
2173
2173
  format : str
2174
2174
  Define the format for labels on the scale. The syntax resembles Python's:
@@ -2186,7 +2186,7 @@ def scale_color_discrete(direction=None,
2186
2186
 
2187
2187
  Returns
2188
2188
  -------
2189
- `FeatureSpec`
2189
+ ``FeatureSpec``
2190
2190
  Scale specification.
2191
2191
 
2192
2192
  Examples
@@ -2253,7 +2253,7 @@ def scale_grey(aesthetic, *,
2253
2253
  Missing values will be replaced with this value.
2254
2254
  guide
2255
2255
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
2256
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
2256
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
2257
2257
  specifying additional arguments. 'none' will hide the guide.
2258
2258
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
2259
2259
  Name of built-in transformation.
@@ -2268,7 +2268,7 @@ def scale_grey(aesthetic, *,
2268
2268
 
2269
2269
  Returns
2270
2270
  -------
2271
- `FeatureSpec` or `FeatureSpecArray`
2271
+ ``FeatureSpec`` or ``FeatureSpecArray``
2272
2272
  Scales specification.
2273
2273
 
2274
2274
  Notes
@@ -2311,7 +2311,7 @@ def scale_grey(aesthetic, *,
2311
2311
  def scale_fill_grey(start=None, end=None, name=None, breaks=None, labels=None, lablim=None, limits=None,
2312
2312
  na_value=None, guide=None, trans=None, format=None):
2313
2313
  """
2314
- Sequential grey color scale for `fill` aesthetic.
2314
+ Sequential grey color scale for ``fill`` aesthetic.
2315
2315
 
2316
2316
  Parameters
2317
2317
  ----------
@@ -2337,7 +2337,7 @@ def scale_fill_grey(start=None, end=None, name=None, breaks=None, labels=None, l
2337
2337
  Missing values will be replaced with this value.
2338
2338
  guide
2339
2339
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
2340
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
2340
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
2341
2341
  specifying additional arguments. 'none' will hide the guide.
2342
2342
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
2343
2343
  Name of built-in transformation.
@@ -2352,12 +2352,12 @@ def scale_fill_grey(start=None, end=None, name=None, breaks=None, labels=None, l
2352
2352
 
2353
2353
  Returns
2354
2354
  -------
2355
- `FeatureSpec`
2355
+ ``FeatureSpec``
2356
2356
  Scale specification.
2357
2357
 
2358
2358
  Notes
2359
2359
  -----
2360
- Define sequential grey color scale for `fill` aesthetic.
2360
+ Define sequential grey color scale for ``fill`` aesthetic.
2361
2361
 
2362
2362
  Examples
2363
2363
  --------
@@ -2391,7 +2391,7 @@ def scale_fill_grey(start=None, end=None, name=None, breaks=None, labels=None, l
2391
2391
  def scale_color_grey(start=None, end=None, name=None, breaks=None, labels=None, lablim=None, limits=None,
2392
2392
  na_value=None, guide=None, trans=None, format=None):
2393
2393
  """
2394
- Sequential grey color scale for `color` aesthetic.
2394
+ Sequential grey color scale for ``color`` aesthetic.
2395
2395
 
2396
2396
  Parameters
2397
2397
  ----------
@@ -2417,7 +2417,7 @@ def scale_color_grey(start=None, end=None, name=None, breaks=None, labels=None,
2417
2417
  Missing values will be replaced with this value.
2418
2418
  guide
2419
2419
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
2420
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
2420
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
2421
2421
  specifying additional arguments. 'none' will hide the guide.
2422
2422
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
2423
2423
  Name of built-in transformation.
@@ -2432,12 +2432,12 @@ def scale_color_grey(start=None, end=None, name=None, breaks=None, labels=None,
2432
2432
 
2433
2433
  Returns
2434
2434
  -------
2435
- `FeatureSpec`
2435
+ ``FeatureSpec``
2436
2436
  Scale specification.
2437
2437
 
2438
2438
  Notes
2439
2439
  -----
2440
- Define sequential grey color scale for `color` aesthetic.
2440
+ Define sequential grey color scale for ``color`` aesthetic.
2441
2441
 
2442
2442
  Examples
2443
2443
  --------
@@ -2525,7 +2525,7 @@ def scale_brewer(aesthetic, *,
2525
2525
  Missing values will be replaced with this value.
2526
2526
  guide
2527
2527
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
2528
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
2528
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
2529
2529
  specifying additional arguments. 'none' will hide the guide.
2530
2530
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
2531
2531
  Name of built-in transformation.
@@ -2540,7 +2540,7 @@ def scale_brewer(aesthetic, *,
2540
2540
 
2541
2541
  Returns
2542
2542
  -------
2543
- `FeatureSpec` or `FeatureSpecArray`
2543
+ ``FeatureSpec`` or ``FeatureSpecArray``
2544
2544
  Scales specification.
2545
2545
 
2546
2546
  Notes
@@ -2596,7 +2596,7 @@ def scale_brewer(aesthetic, *,
2596
2596
  def scale_fill_brewer(type=None, palette=None, direction=None, name=None, breaks=None, labels=None, lablim=None, limits=None,
2597
2597
  na_value=None, guide=None, trans=None, format=None):
2598
2598
  """
2599
- Sequential, diverging and qualitative color scales from colorbrewer2.org for `fill` aesthetic.
2599
+ Sequential, diverging and qualitative color scales from colorbrewer2.org for ``fill`` aesthetic.
2600
2600
  Color schemes provided are particularly suited to display discrete values (levels of factors) on a map.
2601
2601
 
2602
2602
  Parameters
@@ -2627,7 +2627,7 @@ def scale_fill_brewer(type=None, palette=None, direction=None, name=None, breaks
2627
2627
  Missing values will be replaced with this value.
2628
2628
  guide
2629
2629
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
2630
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
2630
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
2631
2631
  specifying additional arguments. 'none' will hide the guide.
2632
2632
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
2633
2633
  Name of built-in transformation.
@@ -2642,7 +2642,7 @@ def scale_fill_brewer(type=None, palette=None, direction=None, name=None, breaks
2642
2642
 
2643
2643
  Returns
2644
2644
  -------
2645
- `FeatureSpec`
2645
+ ``FeatureSpec``
2646
2646
  Scale specification.
2647
2647
 
2648
2648
  Notes
@@ -2696,7 +2696,7 @@ def scale_fill_brewer(type=None, palette=None, direction=None, name=None, breaks
2696
2696
  def scale_color_brewer(type=None, palette=None, direction=None, name=None, breaks=None, labels=None, lablim=None, limits=None,
2697
2697
  na_value=None, guide=None, trans=None, format=None):
2698
2698
  """
2699
- Sequential, diverging and qualitative color scales from colorbrewer2.org for `color` aesthetic.
2699
+ Sequential, diverging and qualitative color scales from colorbrewer2.org for ``color`` aesthetic.
2700
2700
  Color schemes provided are particularly suited to display discrete values (levels of factors) on a map.
2701
2701
 
2702
2702
  Parameters
@@ -2727,7 +2727,7 @@ def scale_color_brewer(type=None, palette=None, direction=None, name=None, break
2727
2727
  Missing values will be replaced with this value.
2728
2728
  guide
2729
2729
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
2730
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
2730
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
2731
2731
  specifying additional arguments. 'none' will hide the guide.
2732
2732
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
2733
2733
  Name of built-in transformation.
@@ -2742,12 +2742,12 @@ def scale_color_brewer(type=None, palette=None, direction=None, name=None, break
2742
2742
 
2743
2743
  Returns
2744
2744
  -------
2745
- `FeatureSpec`
2745
+ ``FeatureSpec``
2746
2746
  Scale specification.
2747
2747
 
2748
2748
  Notes
2749
2749
  -----
2750
- Define sequential, diverging and qualitative color scales from colorbrewer2.org for `color` aesthetic.
2750
+ Define sequential, diverging and qualitative color scales from colorbrewer2.org for ``color`` aesthetic.
2751
2751
  ColorBrewer provides sequential, diverging and qualitative color schemes which are particularly suited and
2752
2752
  tested to display discrete values (levels of a factor) on a map. It allows to smoothly interpolate 6 colors
2753
2753
  from any palette to a continuous scale (6 colors per palette gives nice gradients; more results in more saturated
@@ -2796,10 +2796,10 @@ def scale_viridis(aesthetic, *,
2796
2796
  name=None, breaks=None, labels=None, lablim=None, limits=None,
2797
2797
  na_value=None, guide=None, trans=None, format=None):
2798
2798
  """
2799
- The `viridis` color maps are designed to be perceptually-uniform,
2799
+ The ``viridis`` color maps are designed to be perceptually-uniform,
2800
2800
  both in regular form and also when converted to black-and-white.
2801
2801
 
2802
- The `viridis` color scales are suitable for viewers with common forms of colour blindness.
2802
+ The ``viridis`` color scales are suitable for viewers with common forms of colour blindness.
2803
2803
  See also https://bids.github.io/colormap/.
2804
2804
 
2805
2805
 
@@ -2810,21 +2810,22 @@ def scale_viridis(aesthetic, *,
2810
2810
  alpha : float, default=1.0
2811
2811
  Alpha transparency channel. (0 means transparent and 1 means opaque).
2812
2812
  begin : float, default=0.0
2813
- Correspond to a color hue to start at. Accept values between 0 and 1. Should be less than `end`.
2813
+ Correspond to a color hue to start at. Accept values between 0 and 1. Should be less than ``end``.
2814
2814
  end : float, default=1.0
2815
- Correspond to a color hue to end with. Accept values between 0 and 1. Should be greater than `begin`.
2815
+ Correspond to a color hue to end with. Accept values between 0 and 1. Should be greater than ``begin``.
2816
2816
  direction : {1, -1}, default=1
2817
2817
  Set the order of colors in the scale.
2818
2818
  If -1, the order of colors is reversed.
2819
2819
  option : str, default="D" (or "viridis")
2820
2820
  The colormap to use:
2821
- - "magma" (or "A"),
2822
- - "inferno" (or "B")
2823
- - "plasma" (or "C")
2824
- - "viridis" (or "D")
2825
- - "cividis" (or "E")
2826
- - "turbo"
2827
- - "twilight"
2821
+
2822
+ - "magma" (or "A"),
2823
+ - "inferno" (or "B")
2824
+ - "plasma" (or "C")
2825
+ - "viridis" (or "D")
2826
+ - "cividis" (or "E")
2827
+ - "turbo"
2828
+ - "twilight"
2828
2829
 
2829
2830
  name : str
2830
2831
  The name of the scale - used as the axis label or the legend title.
@@ -2844,7 +2845,7 @@ def scale_viridis(aesthetic, *,
2844
2845
  Missing values will be replaced with this value.
2845
2846
  guide
2846
2847
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
2847
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
2848
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
2848
2849
  specifying additional arguments. 'none' will hide the guide.
2849
2850
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
2850
2851
  Name of built-in transformation.
@@ -2859,7 +2860,7 @@ def scale_viridis(aesthetic, *,
2859
2860
 
2860
2861
  Returns
2861
2862
  -------
2862
- `FeatureSpec` or `FeatureSpecArray`
2863
+ ``FeatureSpec`` or ``FeatureSpecArray``
2863
2864
  Scales specification.
2864
2865
 
2865
2866
  Notes
@@ -2906,10 +2907,10 @@ def scale_fill_viridis(alpha=None, begin=None, end=None, direction=None, option=
2906
2907
  name=None, breaks=None, labels=None, lablim=None, limits=None,
2907
2908
  na_value=None, guide=None, trans=None, format=None):
2908
2909
  """
2909
- The `viridis` color maps are designed to be perceptually-uniform,
2910
+ The ``viridis`` color maps are designed to be perceptually-uniform,
2910
2911
  both in regular form and also when converted to black-and-white.
2911
2912
 
2912
- The `viridis` color scales are suitable for viewers with common forms of colour blindness.
2913
+ The ``viridis`` color scales are suitable for viewers with common forms of colour blindness.
2913
2914
  See also https://bids.github.io/colormap/.
2914
2915
 
2915
2916
 
@@ -2918,21 +2919,22 @@ def scale_fill_viridis(alpha=None, begin=None, end=None, direction=None, option=
2918
2919
  alpha : float, default=1.0
2919
2920
  Alpha transparency channel. (0 means transparent and 1 means opaque).
2920
2921
  begin : float, default=0.0
2921
- Correspond to a color hue to start at. Accept values between 0 and 1. Should be less than `end`.
2922
+ Correspond to a color hue to start at. Accept values between 0 and 1. Should be less than ``end``.
2922
2923
  end : float, default=1.0
2923
- Correspond to a color hue to end with. Accept values between 0 and 1. Should be greater than `begin`.
2924
+ Correspond to a color hue to end with. Accept values between 0 and 1. Should be greater than ``begin``.
2924
2925
  direction : {1, -1}, default=1
2925
2926
  Set the order of colors in the scale.
2926
2927
  If -1, the order of colors is reversed.
2927
2928
  option : str, default="D" (or "viridis")
2928
2929
  The colormap to use:
2929
- - "magma" (or "A"),
2930
- - "inferno" (or "B")
2931
- - "plasma" (or "C")
2932
- - "viridis" (or "D")
2933
- - "cividis" (or "E")
2934
- - "turbo"
2935
- - "twilight"
2930
+
2931
+ - "magma" (or "A"),
2932
+ - "inferno" (or "B")
2933
+ - "plasma" (or "C")
2934
+ - "viridis" (or "D")
2935
+ - "cividis" (or "E")
2936
+ - "turbo"
2937
+ - "twilight"
2936
2938
 
2937
2939
  name : str
2938
2940
  The name of the scale - used as the axis label or the legend title.
@@ -2952,7 +2954,7 @@ def scale_fill_viridis(alpha=None, begin=None, end=None, direction=None, option=
2952
2954
  Missing values will be replaced with this value.
2953
2955
  guide
2954
2956
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
2955
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
2957
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
2956
2958
  specifying additional arguments. 'none' will hide the guide.
2957
2959
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
2958
2960
  Name of built-in transformation.
@@ -2967,7 +2969,7 @@ def scale_fill_viridis(alpha=None, begin=None, end=None, direction=None, option=
2967
2969
 
2968
2970
  Returns
2969
2971
  -------
2970
- `FeatureSpec`
2972
+ ``FeatureSpec``
2971
2973
  Scale specification.
2972
2974
 
2973
2975
  Notes
@@ -3010,10 +3012,10 @@ def scale_color_viridis(alpha=None, begin=None, end=None, direction=None, option
3010
3012
  name=None, breaks=None, labels=None, lablim=None, limits=None,
3011
3013
  na_value=None, guide=None, trans=None, format=None):
3012
3014
  """
3013
- The `viridis` color maps are designed to be perceptually-uniform,
3015
+ The ``viridis`` color maps are designed to be perceptually-uniform,
3014
3016
  both in regular form and also when converted to black-and-white.
3015
3017
 
3016
- The `viridis` color scales are suitable for viewers with common forms of colour blindness.
3018
+ The ``viridis`` color scales are suitable for viewers with common forms of colour blindness.
3017
3019
  See also https://bids.github.io/colormap/.
3018
3020
 
3019
3021
 
@@ -3022,21 +3024,22 @@ def scale_color_viridis(alpha=None, begin=None, end=None, direction=None, option
3022
3024
  alpha : float, default=1.0
3023
3025
  Alpha transparency channel. (0 means transparent and 1 means opaque).
3024
3026
  begin : float, default=0.0
3025
- Correspond to a color hue to start at. Accept values between 0 and 1. Should be less than `end`.
3027
+ Correspond to a color hue to start at. Accept values between 0 and 1. Should be less than ``end``.
3026
3028
  end : float, default=1.0
3027
- Correspond to a color hue to end with. Accept values between 0 and 1. Should be greater than `begin`.
3029
+ Correspond to a color hue to end with. Accept values between 0 and 1. Should be greater than ``begin``.
3028
3030
  direction : {1, -1}, default=1
3029
3031
  Set the order of colors in the scale.
3030
3032
  If -1, the order of colors is reversed.
3031
3033
  option : str, default="D" (or "viridis")
3032
3034
  The colormap to use:
3033
- - "magma" (or "A"),
3034
- - "inferno" (or "B")
3035
- - "plasma" (or "C")
3036
- - "viridis" (or "D")
3037
- - "cividis" (or "E")
3038
- - "turbo"
3039
- - "twilight"
3035
+
3036
+ - "magma" (or "A"),
3037
+ - "inferno" (or "B")
3038
+ - "plasma" (or "C")
3039
+ - "viridis" (or "D")
3040
+ - "cividis" (or "E")
3041
+ - "turbo"
3042
+ - "twilight"
3040
3043
 
3041
3044
  name : str
3042
3045
  The name of the scale - used as the axis label or the legend title.
@@ -3056,7 +3059,7 @@ def scale_color_viridis(alpha=None, begin=None, end=None, direction=None, option
3056
3059
  Missing values will be replaced with this value.
3057
3060
  guide
3058
3061
  Guide to use for this scale. It can either be a string ('colorbar', 'legend')
3059
- or a call to a guide function (`guide_colorbar()`, `guide_legend()`)
3062
+ or a call to a guide function (`guide_colorbar() <https://lets-plot.org/python/pages/api/lets_plot.guide_colorbar.html>`__, `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__)
3060
3063
  specifying additional arguments. 'none' will hide the guide.
3061
3064
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
3062
3065
  Name of built-in transformation.
@@ -3071,7 +3074,7 @@ def scale_color_viridis(alpha=None, begin=None, end=None, direction=None, option
3071
3074
 
3072
3075
  Returns
3073
3076
  -------
3074
- `FeatureSpec`
3077
+ ``FeatureSpec``
3075
3078
  Scale specification.
3076
3079
 
3077
3080
  Notes
@@ -3136,7 +3139,7 @@ def scale_alpha(range=None, name=None, breaks=None, labels=None, lablim=None, li
3136
3139
  na_value
3137
3140
  Missing values will be replaced with this value.
3138
3141
  guide
3139
- A result returned by `guide_legend()` function or 'none' to hide the guide.
3142
+ A result returned by `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__ function or 'none' to hide the guide.
3140
3143
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
3141
3144
  Name of built-in transformation.
3142
3145
  format : str
@@ -3150,7 +3153,7 @@ def scale_alpha(range=None, name=None, breaks=None, labels=None, lablim=None, li
3150
3153
 
3151
3154
  Returns
3152
3155
  -------
3153
- `FeatureSpec`
3156
+ ``FeatureSpec``
3154
3157
  Scale specification.
3155
3158
 
3156
3159
  Examples
@@ -3209,7 +3212,7 @@ def scale_size(range=None, name=None, breaks=None, labels=None, lablim=None, lim
3209
3212
  na_value
3210
3213
  Missing values will be replaced with this value.
3211
3214
  guide
3212
- A result returned by `guide_legend()` function or 'none' to hide the guide.
3215
+ A result returned by `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__ function or 'none' to hide the guide.
3213
3216
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
3214
3217
  Name of built-in transformation.
3215
3218
  format : str
@@ -3223,7 +3226,7 @@ def scale_size(range=None, name=None, breaks=None, labels=None, lablim=None, lim
3223
3226
 
3224
3227
  Returns
3225
3228
  -------
3226
- `FeatureSpec`
3229
+ ``FeatureSpec``
3227
3230
  Scale specification.
3228
3231
 
3229
3232
  Examples
@@ -3283,7 +3286,7 @@ def scale_size_area(max_size=None, name=None, breaks=None, labels=None, lablim=N
3283
3286
  na_value
3284
3287
  Missing values will be replaced with this value.
3285
3288
  guide
3286
- A result returned by `guide_legend()` function or 'none' to hide the guide.
3289
+ A result returned by `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__ function or 'none' to hide the guide.
3287
3290
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
3288
3291
  Name of built-in transformation.
3289
3292
  format : str
@@ -3297,7 +3300,7 @@ def scale_size_area(max_size=None, name=None, breaks=None, labels=None, lablim=N
3297
3300
 
3298
3301
  Returns
3299
3302
  -------
3300
- `FeatureSpec`
3303
+ ``FeatureSpec``
3301
3304
  Scale specification.
3302
3305
 
3303
3306
  Notes
@@ -3362,7 +3365,7 @@ def scale_linewidth(range=None, name=None, breaks=None, labels=None, lablim=None
3362
3365
  na_value
3363
3366
  Missing values will be replaced with this value.
3364
3367
  guide
3365
- A result returned by `guide_legend()` function or 'none' to hide the guide.
3368
+ A result returned by `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__ function or 'none' to hide the guide.
3366
3369
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
3367
3370
  Name of built-in transformation.
3368
3371
  format : str
@@ -3376,7 +3379,7 @@ def scale_linewidth(range=None, name=None, breaks=None, labels=None, lablim=None
3376
3379
 
3377
3380
  Returns
3378
3381
  -------
3379
- `FeatureSpec`
3382
+ ``FeatureSpec``
3380
3383
  Scale specification.
3381
3384
 
3382
3385
  Examples
@@ -3435,7 +3438,7 @@ def scale_stroke(range=None, name=None, breaks=None, labels=None, lablim=None, l
3435
3438
  na_value
3436
3439
  Missing values will be replaced with this value.
3437
3440
  guide
3438
- A result returned by `guide_legend()` function or 'none' to hide the guide.
3441
+ A result returned by `guide_legend() <https://lets-plot.org/python/pages/api/lets_plot.guide_legend.html>`__ function or 'none' to hide the guide.
3439
3442
  trans : {'identity', 'log10', 'log2', 'symlog', 'sqrt', 'reverse'}
3440
3443
  Name of built-in transformation.
3441
3444
  format : str
@@ -3449,7 +3452,7 @@ def scale_stroke(range=None, name=None, breaks=None, labels=None, lablim=None, l
3449
3452
 
3450
3453
  Returns
3451
3454
  -------
3452
- `FeatureSpec`
3455
+ ``FeatureSpec``
3453
3456
  Scale specification.
3454
3457
 
3455
3458
  Examples
@@ -3530,7 +3533,7 @@ def _scale(aesthetic, *,
3530
3533
 
3531
3534
  Returns
3532
3535
  -------
3533
- `FeatureSpec` or `FeatureSpecArray`
3536
+ ``FeatureSpec`` or ``FeatureSpecArray``
3534
3537
  Scales specification.
3535
3538
 
3536
3539
  """