Changes between Version 6 and Version 7 of docs_plotly


Ignore:
Timestamp:
May 7, 2018, 8:31:33 AM (2 years ago)
Author:
ehb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • docs_plotly

    v6 v7  
    177177        output = {}
    178178
    179 # prepare a plot
     179# prepare a barchart
    180180
    181181        barchart_json = '''
     
    201201# convert to dict
    202202        barchart = json.loads(barchart_json)
     203
     204# prepare a line plot
    203205
    204206        lineplot_json = '''
     
    243245'''.strip()
    244246
     247# convert to dict
    245248        lineplot = json.loads(lineplot_json)
    246249
    247 # you can also work with this dictionary directly
     250# you can also work with this dict directly
    248251        lineplot['data'][0]['y'] = [20, 10, 15, 23]
    249252