lets-plot 4.5.0__cp312-cp312-win_amd64.whl → 4.5.0rc2__cp312-cp312-win_amd64.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.

@@ -114,7 +114,6 @@ def geom_function(mapping=None, *, data=None, stat=None, geom=None, position=Non
114
114
  tooltips : `layer_tooltips`
115
115
  Result of the call to the `layer_tooltips()` function.
116
116
  Specify appearance, style and content.
117
- Set tooltips='none' to hide tooltips from the layer.
118
117
  fun : function
119
118
  A function of one variable in Python syntax.
120
119
  xlim : list of float, default=[0.0, 1.0]
@@ -140,15 +139,10 @@ def geom_function(mapping=None, *, data=None, stat=None, geom=None, position=Non
140
139
 
141
140
  - x : x-axis value.
142
141
  - alpha : transparency level of a layer. Accept values between 0 and 1.
143
- - color (colour) : color of the geometry. For more info see `Color and Fill <https://lets-plot.org/python/pages/aesthetics.html#color-and-fill>`__.
144
- - linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see `Line Types <https://lets-plot.org/python/pages/aesthetics.html#line-types>`__.
142
+ - color (colour) : color of the geometry. For more info see https://lets-plot.org/python/pages/aesthetics.html#color-and-fill.
143
+ - linetype : type of the line. Accept codes or names (0 = 'blank', 1 = 'solid', 2 = 'dashed', 3 = 'dotted', 4 = 'dotdash', 5 = 'longdash', 6 = 'twodash'), a hex string (up to 8 digits for dash-gap lengths), or a list pattern [offset, [dash, gap, ...]] / [dash, gap, ...]. For more info see https://lets-plot.org/python/pages/aesthetics.html#line-types.
145
144
  - size : line width.
146
145
 
147
- ----
148
-
149
- To hide axis tooltips, set 'blank' or the result of `element_blank()`
150
- to the `axis_tooltip`, `axis_tooltip_x` or `axis_tooltip_y` parameter of the `theme()`.
151
-
152
146
  Examples
153
147
  --------
154
148
  .. jupyter-execute::
@@ -205,7 +205,6 @@ def _prepare_tiles(tiles: Optional[Union[str, dict]]) -> Optional[dict]:
205
205
 
206
206
  if isinstance(tiles, dict):
207
207
  if tiles.get(MAPTILES_KIND) == TILES_RASTER_ZXY:
208
- _warn_deprecated_tiles(tiles)
209
208
  return {
210
209
  OPTIONS_MAPTILES_KIND: TILES_RASTER_ZXY,
211
210
  OPTIONS_MAPTILES_URL: tiles[MAPTILES_URL],
@@ -241,7 +240,6 @@ def _prepare_tiles(tiles: Optional[Union[str, dict]]) -> Optional[dict]:
241
240
  raise ValueError('URL for tiles service is not set')
242
241
 
243
242
  if get_global_val(MAPTILES_KIND) == TILES_RASTER_ZXY:
244
- _warn_deprecated_tiles(None)
245
243
  return {
246
244
  OPTIONS_MAPTILES_KIND: TILES_RASTER_ZXY,
247
245
  OPTIONS_MAPTILES_URL: get_global_val(MAPTILES_URL),
@@ -271,36 +269,6 @@ def _prepare_tiles(tiles: Optional[Union[str, dict]]) -> Optional[dict]:
271
269
  raise ValueError('Tile provider is not set.')
272
270
 
273
271
 
274
- def _warn_deprecated_tiles(tiles: Union[dict, None]):
275
- # TODO: Remove this warning in future releases.
276
-
277
- if tiles is None:
278
- maptiles_url = get_global_val(MAPTILES_URL)
279
- else:
280
- maptiles_url = tiles[MAPTILES_URL]
281
-
282
- if not isinstance(maptiles_url, str):
283
- return
284
- if not maptiles_url.startswith("https://cartocdn_[abc].global.ssl.fastly.net/"):
285
- return
286
- if 'base-midnight' not in maptiles_url and 'base-antique' not in maptiles_url and 'base-flatblue' not in maptiles_url:
287
- return
288
-
289
- if tiles is None:
290
- if not has_global_value(MAPTILES_ATTRIBUTION):
291
- return
292
- maptiles_attribution = get_global_val(MAPTILES_ATTRIBUTION)
293
- else:
294
- maptiles_attribution = tiles[MAPTILES_ATTRIBUTION]
295
-
296
- if not isinstance(maptiles_attribution, str):
297
- return
298
- if not maptiles_attribution.endswith('map data: <a href="https://www.openstreetmap.org/copyright">© OpenStreetMap contributors</a> <a href="https://carto.com/attributions#basemaps">© CARTO</a>, <a href="https://carto.com/attributions">© CARTO</a>'):
299
- return
300
-
301
- print(f"WARN: The tileset is no longer available and the corresponding constant will be removed in future releases.")
302
-
303
-
304
272
  def _prepare_location(location: Union[str, List[float]]) -> Optional[dict]:
305
273
  if location is None:
306
274
  return None
lets_plot/plot/ggtb_.py CHANGED
@@ -17,7 +17,6 @@ def ggtb() -> FeatureSpec:
17
17
  in and out, regardless of the selected tool.
18
18
 
19
19
  The toolbar includes:
20
-
21
20
  - Pan: Drag to move the plot.
22
21
  - Rubber-band zoom: Drag to define a rectangular area to zoom into.
23
22
  - Center-point zoom: Drag up or down to zoom in or out from a center point.
@@ -27,7 +26,6 @@ def ggtb() -> FeatureSpec:
27
26
  regardless of whether a tool is selected or not.
28
27
 
29
28
  Limitations:
30
-
31
29
  - The toolbar does not work with interactive maps.
32
30
  - The toolbar is not compatible with GGBunch.
33
31
  - The toolbar cannot be used with plots using a polar coordinate system.
@@ -41,16 +39,15 @@ def ggtb() -> FeatureSpec:
41
39
  --------
42
40
  .. jupyter-execute::
43
41
  :linenos:
44
- :emphasize-lines: 8
42
+ :emphasize-lines: 7
45
43
 
46
44
  import numpy as np
47
45
  from lets_plot import *
48
46
  LetsPlot.setup_html()
49
47
  x = np.linspace(-2 * np.pi, 2 * np.pi, 100)
50
48
  y = np.sin(x)
51
- ggplot({'x': x, 'y': y}, aes(x='x', y='y')) + \\
52
- geom_point() + \\
53
- ggtb()
49
+ (ggplot({'x': x, 'y': y}, aes(x='x', y='y')) + geom_point()
50
+ + ggtb())
54
51
 
55
52
  """
56
53
  return FeatureSpec(kind='ggtoolbar', name=None)
lets_plot/plot/scale.py CHANGED
@@ -56,7 +56,7 @@ def scale_shape(solid=True, name=None, breaks=None, labels=None, lablim=None, li
56
56
  - 'Num {}' -> 'Num 12.456789'
57
57
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
58
58
 
59
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
59
+ For more info see https://lets-plot.org/python/pages/formats.html.
60
60
 
61
61
  Returns
62
62
  -------
@@ -143,7 +143,7 @@ def scale_manual(aesthetic, values, *,
143
143
  - 'Num {}' -> 'Num 12.456789'
144
144
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
145
145
 
146
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
146
+ For more info see https://lets-plot.org/python/pages/formats.html.
147
147
 
148
148
  Returns
149
149
  -------
@@ -239,7 +239,7 @@ def scale_color_manual(values, name=None, breaks=None, labels=None, lablim=None,
239
239
  - 'Num {}' -> 'Num 12.456789'
240
240
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
241
241
 
242
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
242
+ For more info see https://lets-plot.org/python/pages/formats.html.
243
243
 
244
244
  Returns
245
245
  -------
@@ -314,7 +314,7 @@ def scale_fill_manual(values, name=None, breaks=None, labels=None, lablim=None,
314
314
  - 'Num {}' -> 'Num 12.456789'
315
315
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
316
316
 
317
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
317
+ For more info see https://lets-plot.org/python/pages/formats.html.
318
318
 
319
319
  Returns
320
320
  -------
@@ -387,7 +387,7 @@ def scale_size_manual(values, name=None, breaks=None, labels=None, lablim=None,
387
387
  - 'Num {}' -> 'Num 12.456789'
388
388
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
389
389
 
390
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
390
+ For more info see https://lets-plot.org/python/pages/formats.html.
391
391
 
392
392
  Returns
393
393
  -------
@@ -462,7 +462,7 @@ def scale_shape_manual(values, name=None, breaks=None, labels=None, lablim=None,
462
462
  - 'Num {}' -> 'Num 12.456789'
463
463
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
464
464
 
465
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
465
+ For more info see https://lets-plot.org/python/pages/formats.html.
466
466
 
467
467
  Returns
468
468
  -------
@@ -537,7 +537,7 @@ def scale_linetype_manual(values, name=None, breaks=None, labels=None, lablim=No
537
537
  - 'Num {}' -> 'Num 12.456789'
538
538
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
539
539
 
540
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
540
+ For more info see https://lets-plot.org/python/pages/formats.html.
541
541
 
542
542
  Returns
543
543
  -------
@@ -613,7 +613,7 @@ def scale_alpha_manual(values, name=None, breaks=None, labels=None, lablim=None,
613
613
  - 'Num {}' -> 'Num 12.456789'
614
614
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
615
615
 
616
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
616
+ For more info see https://lets-plot.org/python/pages/formats.html.
617
617
 
618
618
  Returns
619
619
  -------
@@ -706,7 +706,7 @@ def scale_continuous(aesthetic, *,
706
706
  - 'Num {}' -> 'Num 12.456789'
707
707
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
708
708
 
709
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
709
+ For more info see https://lets-plot.org/python/pages/formats.html.
710
710
  scale_mapper_kind : {'identity', 'color_gradient', 'color_gradient2', 'color_gradientn', 'color_hue', 'color_grey', 'color_brewer', 'color_cmap', 'size_area'}
711
711
  The type of the scale.
712
712
  If None (the default) and the scale is color, then 'color_gradient' will be used.
@@ -793,7 +793,7 @@ def scale_fill_continuous(name=None, breaks=None, labels=None, lablim=None,
793
793
  - 'Num {}' -> 'Num 12.456789'
794
794
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
795
795
 
796
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
796
+ For more info see https://lets-plot.org/python/pages/formats.html.
797
797
  scale_mapper_kind : {'color_gradient', 'color_gradient2', 'color_gradientn', 'color_hue', 'color_grey', 'color_brewer', 'color_cmap'}
798
798
  The type of color scale.
799
799
  If None (the default), then 'color_gradient' will be used.
@@ -872,7 +872,7 @@ def scale_color_continuous(name=None, breaks=None, labels=None, lablim=None, lim
872
872
  - 'Num {}' -> 'Num 12.456789'
873
873
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
874
874
 
875
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
875
+ For more info see https://lets-plot.org/python/pages/formats.html.
876
876
  scale_mapper_kind : {'color_gradient', 'color_gradient2', 'color_gradientn', 'color_hue', 'color_grey', 'color_brewer', 'color_cmap'}
877
877
  The type of color scale.
878
878
  If None (the default), then 'color_gradient' will be used.
@@ -959,7 +959,7 @@ def scale_gradient(aesthetic, *,
959
959
  - 'Num {}' -> 'Num 12.456789'
960
960
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
961
961
 
962
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
962
+ For more info see https://lets-plot.org/python/pages/formats.html.
963
963
 
964
964
  Returns
965
965
  -------
@@ -1042,7 +1042,7 @@ def scale_fill_gradient(low=None, high=None, name=None, breaks=None, labels=None
1042
1042
  - 'Num {}' -> 'Num 12.456789'
1043
1043
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1044
1044
 
1045
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1045
+ For more info see https://lets-plot.org/python/pages/formats.html.
1046
1046
 
1047
1047
  Returns
1048
1048
  -------
@@ -1122,7 +1122,7 @@ def scale_color_gradient(low=None, high=None, name=None, breaks=None, labels=Non
1122
1122
  - 'Num {}' -> 'Num 12.456789'
1123
1123
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1124
1124
 
1125
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1125
+ For more info see https://lets-plot.org/python/pages/formats.html.
1126
1126
 
1127
1127
  Returns
1128
1128
  -------
@@ -1209,7 +1209,7 @@ def scale_gradient2(aesthetic, *,
1209
1209
  - 'Num {}' -> 'Num 12.456789'
1210
1210
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1211
1211
 
1212
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1212
+ For more info see https://lets-plot.org/python/pages/formats.html.
1213
1213
 
1214
1214
  Returns
1215
1215
  -------
@@ -1297,7 +1297,7 @@ def scale_fill_gradient2(low=None, mid=None, high=None, midpoint=0, name=None, b
1297
1297
  - 'Num {}' -> 'Num 12.456789'
1298
1298
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1299
1299
 
1300
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1300
+ For more info see https://lets-plot.org/python/pages/formats.html.
1301
1301
 
1302
1302
  Returns
1303
1303
  -------
@@ -1382,7 +1382,7 @@ def scale_color_gradient2(low=None, mid=None, high=None, midpoint=0, name=None,
1382
1382
  - 'Num {}' -> 'Num 12.456789'
1383
1383
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1384
1384
 
1385
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1385
+ For more info see https://lets-plot.org/python/pages/formats.html.
1386
1386
 
1387
1387
  Returns
1388
1388
  -------
@@ -1464,7 +1464,7 @@ def scale_gradientn(aesthetic, *,
1464
1464
  - 'Num {}' -> 'Num 12.456789'
1465
1465
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1466
1466
 
1467
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1467
+ For more info see https://lets-plot.org/python/pages/formats.html.
1468
1468
 
1469
1469
  Returns
1470
1470
  -------
@@ -1546,7 +1546,7 @@ def scale_color_gradientn(colors=None, name=None, breaks=None, labels=None, labl
1546
1546
  - 'Num {}' -> 'Num 12.456789'
1547
1547
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1548
1548
 
1549
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1549
+ For more info see https://lets-plot.org/python/pages/formats.html.
1550
1550
 
1551
1551
  Returns
1552
1552
  -------
@@ -1625,7 +1625,7 @@ def scale_fill_gradientn(colors=None, name=None, breaks=None, labels=None, labli
1625
1625
  - 'Num {}' -> 'Num 12.456789'
1626
1626
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1627
1627
 
1628
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1628
+ For more info see https://lets-plot.org/python/pages/formats.html.
1629
1629
 
1630
1630
  Returns
1631
1631
  -------
@@ -1713,7 +1713,7 @@ def scale_hue(aesthetic, *,
1713
1713
  - 'Num {}' -> 'Num 12.456789'
1714
1714
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1715
1715
 
1716
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1716
+ For more info see https://lets-plot.org/python/pages/formats.html.
1717
1717
 
1718
1718
  Returns
1719
1719
  -------
@@ -1803,7 +1803,7 @@ def scale_fill_hue(h=None, c=None, l=None, h_start=None, direction=None, name=No
1803
1803
  - 'Num {}' -> 'Num 12.456789'
1804
1804
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1805
1805
 
1806
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1806
+ For more info see https://lets-plot.org/python/pages/formats.html.
1807
1807
 
1808
1808
  Returns
1809
1809
  -------
@@ -1889,7 +1889,7 @@ def scale_color_hue(h=None, c=None, l=None, h_start=None, direction=None, name=N
1889
1889
  - 'Num {}' -> 'Num 12.456789'
1890
1890
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1891
1891
 
1892
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1892
+ For more info see https://lets-plot.org/python/pages/formats.html.
1893
1893
 
1894
1894
  Returns
1895
1895
  -------
@@ -1973,7 +1973,7 @@ def scale_discrete(aesthetic, *,
1973
1973
  - 'Num {}' -> 'Num 12.456789'
1974
1974
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
1975
1975
 
1976
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
1976
+ For more info see https://lets-plot.org/python/pages/formats.html.
1977
1977
  scale_mapper_kind : {'identity', 'color_gradient', 'color_gradient2', 'color_gradientn', 'color_hue', 'color_grey', 'color_brewer', 'color_cmap', 'size_area'}
1978
1978
  The type of the scale.
1979
1979
  If None (the default) and the scale is color, then 'color_brewer' will be used.
@@ -2062,7 +2062,7 @@ def scale_fill_discrete(direction=None,
2062
2062
  - 'Num {}' -> 'Num 12.456789'
2063
2063
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
2064
2064
 
2065
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
2065
+ For more info see https://lets-plot.org/python/pages/formats.html.
2066
2066
  scale_mapper_kind : {'color_gradient', 'color_gradient2', 'color_gradientn', 'color_hue', 'color_grey', 'color_brewer', 'color_cmap'}
2067
2067
  The type of color scale.
2068
2068
  If None (the default), then 'color_brewer' will be used.
@@ -2144,7 +2144,7 @@ def scale_color_discrete(direction=None,
2144
2144
  - 'Num {}' -> 'Num 12.456789'
2145
2145
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
2146
2146
 
2147
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
2147
+ For more info see https://lets-plot.org/python/pages/formats.html.
2148
2148
  scale_mapper_kind : {'color_gradient', 'color_gradient2', 'color_gradientn', 'color_hue', 'color_grey', 'color_brewer', 'color_cmap'}
2149
2149
  The type of color scale.
2150
2150
  If None (the default), then 'color_brewer' will be used.
@@ -2231,7 +2231,7 @@ def scale_grey(aesthetic, *,
2231
2231
  - 'Num {}' -> 'Num 12.456789'
2232
2232
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
2233
2233
 
2234
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
2234
+ For more info see https://lets-plot.org/python/pages/formats.html.
2235
2235
 
2236
2236
  Returns
2237
2237
  -------
@@ -2316,7 +2316,7 @@ def scale_fill_grey(start=None, end=None, name=None, breaks=None, labels=None, l
2316
2316
  - 'Num {}' -> 'Num 12.456789'
2317
2317
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
2318
2318
 
2319
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
2319
+ For more info see https://lets-plot.org/python/pages/formats.html.
2320
2320
 
2321
2321
  Returns
2322
2322
  -------
@@ -2396,7 +2396,7 @@ def scale_color_grey(start=None, end=None, name=None, breaks=None, labels=None,
2396
2396
  - 'Num {}' -> 'Num 12.456789'
2397
2397
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
2398
2398
 
2399
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
2399
+ For more info see https://lets-plot.org/python/pages/formats.html.
2400
2400
 
2401
2401
  Returns
2402
2402
  -------
@@ -2504,7 +2504,7 @@ def scale_brewer(aesthetic, *,
2504
2504
  - 'Num {}' -> 'Num 12.456789'
2505
2505
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
2506
2506
 
2507
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
2507
+ For more info see https://lets-plot.org/python/pages/formats.html.
2508
2508
 
2509
2509
  Returns
2510
2510
  -------
@@ -2607,7 +2607,7 @@ def scale_fill_brewer(type=None, palette=None, direction=None, name=None, breaks
2607
2607
  - 'Num {}' -> 'Num 12.456789'
2608
2608
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
2609
2609
 
2610
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
2610
+ For more info see https://lets-plot.org/python/pages/formats.html.
2611
2611
 
2612
2612
  Returns
2613
2613
  -------
@@ -2707,7 +2707,7 @@ def scale_color_brewer(type=None, palette=None, direction=None, name=None, break
2707
2707
  - 'Num {}' -> 'Num 12.456789'
2708
2708
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
2709
2709
 
2710
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
2710
+ For more info see https://lets-plot.org/python/pages/formats.html.
2711
2711
 
2712
2712
  Returns
2713
2713
  -------
@@ -2824,7 +2824,7 @@ def scale_viridis(aesthetic, *,
2824
2824
  - 'Num {}' -> 'Num 12.456789'
2825
2825
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
2826
2826
 
2827
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
2827
+ For more info see https://lets-plot.org/python/pages/formats.html.
2828
2828
 
2829
2829
  Returns
2830
2830
  -------
@@ -2933,7 +2933,7 @@ def scale_fill_viridis(alpha=None, begin=None, end=None, direction=None, option=
2933
2933
  - 'Num {}' -> 'Num 12.456789'
2934
2934
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
2935
2935
 
2936
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
2936
+ For more info see https://lets-plot.org/python/pages/formats.html.
2937
2937
 
2938
2938
  Returns
2939
2939
  -------
@@ -3037,7 +3037,7 @@ def scale_color_viridis(alpha=None, begin=None, end=None, direction=None, option
3037
3037
  - 'Num {}' -> 'Num 12.456789'
3038
3038
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
3039
3039
 
3040
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
3040
+ For more info see https://lets-plot.org/python/pages/formats.html.
3041
3041
 
3042
3042
  Returns
3043
3043
  -------
@@ -3116,7 +3116,7 @@ def scale_alpha(range=None, name=None, breaks=None, labels=None, lablim=None, li
3116
3116
  - 'Num {}' -> 'Num 12.456789'
3117
3117
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
3118
3118
 
3119
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
3119
+ For more info see https://lets-plot.org/python/pages/formats.html.
3120
3120
 
3121
3121
  Returns
3122
3122
  -------
@@ -3190,7 +3190,7 @@ def scale_size(range=None, name=None, breaks=None, labels=None, lablim=None, lim
3190
3190
  - 'Num {}' -> 'Num 12.456789'
3191
3191
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
3192
3192
 
3193
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
3193
+ For more info see https://lets-plot.org/python/pages/formats.html.
3194
3194
 
3195
3195
  Returns
3196
3196
  -------
@@ -3265,7 +3265,7 @@ def scale_size_area(max_size=None, name=None, breaks=None, labels=None, lablim=N
3265
3265
  - 'Num {}' -> 'Num 12.456789'
3266
3266
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
3267
3267
 
3268
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
3268
+ For more info see https://lets-plot.org/python/pages/formats.html.
3269
3269
 
3270
3270
  Returns
3271
3271
  -------
@@ -3345,7 +3345,7 @@ def scale_linewidth(range=None, name=None, breaks=None, labels=None, lablim=None
3345
3345
  - 'Num {}' -> 'Num 12.456789'
3346
3346
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
3347
3347
 
3348
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
3348
+ For more info see https://lets-plot.org/python/pages/formats.html.
3349
3349
 
3350
3350
  Returns
3351
3351
  -------
@@ -3419,7 +3419,7 @@ def scale_stroke(range=None, name=None, breaks=None, labels=None, lablim=None, l
3419
3419
  - 'Num {}' -> 'Num 12.456789'
3420
3420
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
3421
3421
 
3422
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
3422
+ For more info see https://lets-plot.org/python/pages/formats.html.
3423
3423
 
3424
3424
  Returns
3425
3425
  -------
@@ -93,7 +93,7 @@ def scale_cmapmpl(aesthetic, *,
93
93
  - 'Num {}' -> 'Num 12.456789'
94
94
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
95
95
 
96
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
96
+ For more info see https://lets-plot.org/python/pages/formats.html.
97
97
 
98
98
  Returns
99
99
  -------
@@ -176,7 +176,7 @@ def scale_fill_cmapmpl(cmap, *,
176
176
  - 'Num {}' -> 'Num 12.456789'
177
177
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
178
178
 
179
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
179
+ For more info see https://lets-plot.org/python/pages/formats.html.
180
180
 
181
181
  Returns
182
182
  -------
@@ -255,7 +255,7 @@ def scale_color_cmapmpl(cmap, *,
255
255
  - 'Num {}' -> 'Num 12.456789'
256
256
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
257
257
 
258
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
258
+ For more info see https://lets-plot.org/python/pages/formats.html.
259
259
 
260
260
  Returns
261
261
  -------
@@ -54,7 +54,7 @@ def scale_identity(aesthetic, *,
54
54
  - 'Num {}' -> 'Num 12.456789'
55
55
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
56
56
 
57
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
57
+ For more info see https://lets-plot.org/python/pages/formats.html.
58
58
 
59
59
  Returns
60
60
  -------
@@ -124,7 +124,7 @@ def scale_color_identity(name=None, breaks=None, labels=None, lablim=None, limit
124
124
  - 'Num {}' -> 'Num 12.456789'
125
125
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
126
126
 
127
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
127
+ For more info see https://lets-plot.org/python/pages/formats.html.
128
128
 
129
129
  Returns
130
130
  -------
@@ -133,7 +133,11 @@ def scale_color_identity(name=None, breaks=None, labels=None, lablim=None, limit
133
133
 
134
134
  Notes
135
135
  -----
136
- For more info about input data format, see `Color and Fill <https://lets-plot.org/python/pages/aesthetics.html#color-and-fill>`__.
136
+ Input data expected: list of strings containing:
137
+
138
+ - names of colors (e.g. 'green'),
139
+ - hex codes of colors (e.g. 'x00ff00'),
140
+ - css colors (e.g. 'rgb(0, 255, 0)').
137
141
 
138
142
  Examples
139
143
  --------
@@ -193,7 +197,7 @@ def scale_fill_identity(name=None, breaks=None, labels=None, lablim=None, limits
193
197
  - 'Num {}' -> 'Num 12.456789'
194
198
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
195
199
 
196
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
200
+ For more info see https://lets-plot.org/python/pages/formats.html.
197
201
 
198
202
  Returns
199
203
  -------
@@ -202,7 +206,11 @@ def scale_fill_identity(name=None, breaks=None, labels=None, lablim=None, limits
202
206
 
203
207
  Notes
204
208
  -----
205
- For more info about input data format, see `Color and Fill <https://lets-plot.org/python/pages/aesthetics.html#color-and-fill>`__.
209
+ Input data expected: list of strings containing:
210
+
211
+ - names of colors (e.g. 'green'),
212
+ - hex codes of colors (e.g. 'x00ff00'),
213
+ - css colors (e.g. 'rgb(0, 255, 0)').
206
214
 
207
215
  Examples
208
216
  --------
@@ -262,7 +270,7 @@ def scale_shape_identity(name=None, breaks=None, labels=None, lablim=None, limit
262
270
  - 'Num {}' -> 'Num 12.456789'
263
271
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
264
272
 
265
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
273
+ For more info see https://lets-plot.org/python/pages/formats.html.
266
274
 
267
275
  Returns
268
276
  -------
@@ -335,7 +343,7 @@ def scale_linetype_identity(name=None, breaks=None, labels=None, lablim=None, li
335
343
  - 'Num {}' -> 'Num 12.456789'
336
344
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
337
345
 
338
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
346
+ For more info see https://lets-plot.org/python/pages/formats.html.
339
347
 
340
348
  Returns
341
349
  -------
@@ -411,7 +419,7 @@ def scale_alpha_identity(name=None, breaks=None, labels=None, lablim=None, limit
411
419
  - 'Num {}' -> 'Num 12.456789'
412
420
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
413
421
 
414
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
422
+ For more info see https://lets-plot.org/python/pages/formats.html.
415
423
 
416
424
  Returns
417
425
  -------
@@ -481,7 +489,7 @@ def scale_size_identity(name=None, breaks=None, labels=None, lablim=None, limits
481
489
  - 'Num {}' -> 'Num 12.456789'
482
490
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
483
491
 
484
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
492
+ For more info see https://lets-plot.org/python/pages/formats.html.
485
493
 
486
494
  Returns
487
495
  -------
@@ -551,7 +559,7 @@ def scale_linewidth_identity(name=None, breaks=None, labels=None, lablim=None, l
551
559
  - 'Num {}' -> 'Num 12.456789'
552
560
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
553
561
 
554
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
562
+ For more info see https://lets-plot.org/python/pages/formats.html.
555
563
 
556
564
  Returns
557
565
  -------
@@ -619,7 +627,7 @@ def scale_stroke_identity(name=None, breaks=None, labels=None, lablim=None, limi
619
627
  - 'Num {}' -> 'Num 12.456789'
620
628
  - 'TTL: {.2f}$' -> 'TTL: 12.45$'
621
629
 
622
- For more info see `Formatting <https://lets-plot.org/python/pages/formats.html>`__.
630
+ For more info see https://lets-plot.org/python/pages/formats.html.
623
631
 
624
632
  Returns
625
633
  -------