Commit ab41801f authored by Sanjay Yadav's avatar Sanjay Yadav

CHANGE: Changed YAML Config.

parent 3539d9cc
Pipeline #31136 failed with stage
in 52 seconds
......@@ -12,7 +12,7 @@ draw-treemap:
keys: ['A', 'B']
values: {'C': 'sum', 'D': 'sum'}
size: "lambda v: v['C']"
sort: "lambda v: v.sort('C', ascending=False)"
sort: "lambda v: v.sort_values(by=['C'], ascending=False)"
color: "lambda v: _color.gradient(v['C'] / v['D'] - 1, _color.RdYlGn)"
text: "lambda v: 'Num %d' % v['index']"
......
......@@ -12,7 +12,7 @@ draw-treemap:
size:
function: "lambda v: v['C']"
sort:
function: "lambda v: v.sort('C', ascending=False)"
function: "lambda v: v.sort_values(by=['C'], ascending=False)"
color:
function: "lambda v: _color.gradient(v['C'] / v['D'] - 1, _color.RdYlGn)"
text:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment