JetBrains/lets-plot

waterfall_plot: faceting doesn't work without a measure mapping

ASmirnov-HORIS opened this issue · 0 comments

Example:

data = {
    'cat': ['A', 'B', 'C', 'A', 'B', 'C'],
    'val': [2, 3, -1, 1, -2, 4],
    'g': ['one', 'one', 'one', 'two', 'two', 'two'],
}
waterfall_plot(data, 'cat', 'val', group='g') + facet_grid(x='g')

throws Internal error: NoSuchElementException : Key [] is missing in the map.

And

waterfall_plot(data, 'cat', 'val', group='g') + facet_wrap(facets='g')

shows axis length: NaN instead of plot.