diff options
author | Javi Merino <javi.merino@arm.com> | 2016-05-09 18:28:29 +0100 |
---|---|---|
committer | Javi Merino <javi.merino@arm.com> | 2016-05-09 18:28:29 +0100 |
commit | 1381e3a4ed30d0c971b324ba860a80d2cdf9fca2 (patch) | |
tree | 6807acc72c8656a7d728b643ed2fef213956e0a6 /doc | |
parent | 0645c1e80e89910480f084894ab41e536aff14ad (diff) | |
download | trappy-1381e3a4ed30d0c971b324ba860a80d2cdf9fca2.tar.gz |
doc: fix indentation in InteractivePlotter
Yet another commit sponsored by my OCD.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/InteractivePlotter.ipynb | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/doc/InteractivePlotter.ipynb b/doc/InteractivePlotter.ipynb index 600e267..974bb1d 100644 --- a/doc/InteractivePlotter.ipynb +++ b/doc/InteractivePlotter.ipynb @@ -228,26 +228,26 @@ "cell_type": "code", "collapsed": false, "input": [ - " map_label = {\n", - " \"00000000,00000006\" : \"A57\",\n", - " \"00000000,00000039\" : \"A53\",\n", - " }\n", + "map_label = {\n", + " \"00000000,00000006\" : \"A57\",\n", + " \"00000000,00000039\" : \"A53\",\n", + "}\n", "\n", - " l = trappy.ILinePlot(\n", - " trace1, # TRAPpy FTrace Object\n", - " trappy.cpu_power.CpuInPower, # TRAPpy Event (maps to a unique word in the Trace)\n", - " column=[ # Column(s)\n", - " \"dynamic_power\",\n", - " \"load1\"],\n", - " \n", - " filters={ # Filter the data \n", - " \"cdev_state\": [\n", - " 1,\n", - " 0]},\n", - " pivot=\"cpus\", # One plot for each pivot will be created\n", - " map_label=map_label, # Optionally, provide an alternative label for pivots\n", - " per_line=1) # Number of graphs per line\n", - " l.view()" + "l = trappy.ILinePlot(\n", + " trace1, # TRAPpy FTrace Object\n", + " trappy.cpu_power.CpuInPower, # TRAPpy Event (maps to a unique word in the Trace)\n", + " column=[ # Column(s)\n", + " \"dynamic_power\",\n", + " \"load1\"],\n", + "\n", + " filters={ # Filter the data \n", + " \"cdev_state\": [\n", + " 1,\n", + " 0]},\n", + " pivot=\"cpus\", # One plot for each pivot will be created\n", + " map_label=map_label, # Optionally, provide an alternative label for pivots\n", + " per_line=1) # Number of graphs per line\n", + "l.view()" ], "language": "python", "metadata": {}, @@ -266,22 +266,22 @@ "cell_type": "code", "collapsed": false, "input": [ - " l = trappy.ILinePlot(\n", - " trace1, # TRAPpy FTrace Object\n", - " trappy.cpu_power.CpuInPower, # TRAPpy Event (maps to a unique word in the Trace)\n", - " column=[ # Column(s)\n", - " \"dynamic_power\",\n", - " \"load1\"],\n", - " \n", - " filters={ # Filter the data \n", - " \"cdev_state\": [\n", - " 1,\n", - " 0]},\n", - " pivot=\"cpus\", # One plot for each pivot will be created\n", - " \n", - " per_line=1, # Number of graphs per line\n", - " drawstyle=\"steps-post\") \n", - " l.view()" + "l = trappy.ILinePlot(\n", + " trace1, # TRAPpy FTrace Object\n", + " trappy.cpu_power.CpuInPower, # TRAPpy Event (maps to a unique word in the Trace)\n", + " column=[ # Column(s)\n", + " \"dynamic_power\",\n", + " \"load1\"],\n", + "\n", + " filters={ # Filter the data \n", + " \"cdev_state\": [\n", + " 1,\n", + " 0]},\n", + " pivot=\"cpus\", # One plot for each pivot will be created\n", + "\n", + " per_line=1, # Number of graphs per line\n", + " drawstyle=\"steps-post\") \n", + "l.view()" ], "language": "python", "metadata": {}, |