File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ def main():
8888 )
8989
9090 vega_spec = chart_to_vega (chart )
91- print (f "Chart type: Area" )
91+ print ("Chart type: Area" )
9292 print (f"Data points: { len (data )} " )
9393 print (f"Vega spec keys: { list (vega_spec .keys ())} " )
9494 print ()
@@ -113,7 +113,7 @@ def main():
113113 )
114114
115115 vega_spec = chart_to_vega (chart )
116- print (f "Chart type: Bar" )
116+ print ("Chart type: Bar" )
117117 print (f"Data points: { len (data )} " )
118118 print (f"Vega spec keys: { list (vega_spec .keys ())} " )
119119 print ()
@@ -140,9 +140,9 @@ def main():
140140 )
141141
142142 vega_spec = chart_to_vega (chart )
143- print (f "Chart type: Line (multiple metrics)" )
143+ print ("Chart type: Line (multiple metrics)" )
144144 print (f"Data points: { len (data )} " )
145- print (f "Metrics: revenue, order_count" )
145+ print ("Metrics: revenue, order_count" )
146146 print (f"Vega spec keys: { list (vega_spec .keys ())} " )
147147 print ()
148148
Original file line number Diff line number Diff line change @@ -392,7 +392,8 @@ def create_chart(
392392 - metrics: ["orders.total_revenue", "orders.order_count"]
393393 - chart_type: "line"
394394 """
395- from sidemantic .charts import chart_to_base64_png , chart_to_vega , create_chart as make_chart
395+ from sidemantic .charts import chart_to_base64_png , chart_to_vega
396+ from sidemantic .charts import create_chart as make_chart
396397
397398 layer = get_layer ()
398399
You can’t perform that action at this time.
0 commit comments