File tree Expand file tree Collapse file tree 1 file changed +14
-21
lines changed
examples/notebooks/youtube Expand file tree Collapse file tree 1 file changed +14
-21
lines changed Original file line number Diff line number Diff line change 976
976
}
977
977
],
978
978
"source" : [
979
- " %use lets-plot "
979
+ " %use kandy "
980
980
]
981
981
},
982
982
{
1032
1032
}
1033
1033
],
1034
1034
"source" : [
1035
- " letsPlot(channels.sortBy { viewCount.desc() }.toMap()) +\n " ,
1036
- " geomBar(stat = Stat.identity) {\n " ,
1037
- " x = \" channelTitle\"\n " ,
1038
- " y = \" viewCount\"\n " ,
1039
- " }"
1035
+ " channels.sortBy { viewCount.desc() }.plot {\n " ,
1036
+ " bars {\n " ,
1037
+ " x(channelTitle)\n " ,
1038
+ " y(viewCount)\n " ,
1039
+ " }\n " ,
1040
+ " }"
1040
1041
]
1041
1042
},
1042
1043
{
1097
1098
}
1098
1099
],
1099
1100
"source" : [
1100
- " letsPlot(growth.toMap()) + \n " ,
1101
- " geomArea {\n " ,
1102
- " x = \" publishedAt\"\n " ,
1103
- " y = \" viewCount\"\n " ,
1104
- " \n " ,
1105
- " scaleXDateTime()\n " ,
1106
- " }"
1101
+ " growth.plot {\n " ,
1102
+ " area {\n " ,
1103
+ " x(publishedAt)\n " ,
1104
+ " y(viewCount)\n " ,
1105
+ " }\n " ,
1106
+ " }"
1107
1107
]
1108
- },
1109
- {
1110
- "cell_type" : " code" ,
1111
- "execution_count" : null ,
1112
- "metadata" : {},
1113
- "outputs" : [],
1114
- "source" : []
1115
1108
}
1116
1109
],
1117
1110
"metadata" : {
1127
1120
"name" : " kotlin" ,
1128
1121
"nbconvert_exporter" : " " ,
1129
1122
"pygments_lexer" : " kotlin" ,
1130
- "version" : " 1.8.0-dev-707 "
1123
+ "version" : " 1.8.20-Beta "
1131
1124
}
1132
1125
},
1133
1126
"nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments