Commit 5e1c5573 authored by Patrick Godwin's avatar Patrick Godwin

report.py: fix inconsistent use of tabs and spaces, causing TabError in python3

parent b67749f2
Pipeline #69929 passed with stages
in 2 minutes and 40 seconds
......@@ -137,18 +137,18 @@ class Plot(Content):
def __init__(self, title, path=None, url=None, data_options = None, layout = None, options = None, **kwargs):
super(Plot, self).__init__(title, **kwargs)
self.title = title
self._layout = self._def_layout
self._data_options = self._def_data_options
self._options = self._def_options
self._layout = self._def_layout
self._data_options = self._def_data_options
self._options = self._def_options
if data_options:
self._data_options.update(data_options)
self.content.update({'data_options': self._data_options})
if layout:
self._layout.update(layout)
self.content.update({'layout': self._layout})
if options:
self._options.update(options)
self._data_options.update(data_options)
self.content.update({'data_options': self._data_options})
if layout:
self._layout.update(layout)
self.content.update({'layout': self._layout})
if options:
self._options.update(options)
self.content.update({'options': self._options})
self.content.update({'title': self.title})
self.content.update(kwargs)
......
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