lets-plot 4.5.2.dev1__cp38-cp38-win_amd64.whl → 4.5.3a1__cp38-cp38-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.

lets_plot/_version.py CHANGED
@@ -3,4 +3,4 @@
3
3
  # Use of this source code is governed by the MIT license that can be found in the LICENSE file.
4
4
  #
5
5
  # see: https://www.python.org/dev/peps/pep-0440/#developmental-releases
6
- __version__ = '4.5.2.dev1'
6
+ __version__ = '4.5.3alpha1'
@@ -1,7 +1,8 @@
1
1
  # Copyright (c) 2024. JetBrains s.r.o.
2
2
  # Use of this source code is governed by the MIT license that can be found in the LICENSE file.
3
3
 
4
- from lets_plot.plot.core import PlotSpec
4
+ from lets_plot.plot.core import PlotSpec, aes
5
+ from lets_plot.plot.util import as_annotated_data
5
6
 
6
7
  __all__ = ['waterfall_plot']
7
8
 
@@ -221,6 +222,7 @@ def waterfall_plot(data, x, y, *,
221
222
  facet_wrap(facets='company', scales='free_x')
222
223
 
223
224
  """
225
+ data, mapping, data_meta = as_annotated_data(data, aes(x=x, y=y))
224
226
  return PlotSpec(data=data, mapping=None, scales=[], layers=[], bistro={
225
227
  'name': 'waterfall',
226
228
  'x': x,
@@ -247,4 +249,4 @@ def waterfall_plot(data, x, y, *,
247
249
  'connector': connector,
248
250
  'label': label,
249
251
  'label_format': label_format,
250
- })
252
+ }, **data_meta)