[PATCH 2 of 9 Jqplot cube] [autopep8] E123 - Align closing bracket to match opening bracket

Nsukami Patrick ndkpatt at gmail.com
Wed Jun 12 18:28:45 CEST 2019


# HG changeset patch
# User Nsukami Patrick <ndkpatt at gmail dot com>
# Date 1560351706 0
#      Wed Jun 12 15:01:46 2019 +0000
# Node ID 8618976f91e606b2e4ec0800261ecc08d2255ee6
# Parent  f3c640b5793fe64a66f40e9d53baf7132790bece
[autopep8] E123 - Align closing bracket to match opening bracket

diff --git a/cubicweb_jqplot/views.py b/cubicweb_jqplot/views.py
--- a/cubicweb_jqplot/views.py
+++ b/cubicweb_jqplot/views.py
@@ -86,26 +86,26 @@
     # case to get jqplot argument name
     default_series_defaults = {
         'rendererOptions': {'fillToZero': True},
-        }
+    }
     default_axes_defaults = {
         'useSeriesColor': True,
-        }
+    }
     default_legend = {
         'show': True,
         'placement': 'outsideGrid',
-        }
+    }
     default_axes = {
         'xaxis': {'autoscale': True},
-        }
+    }
     default_cursor = {
         'show': True,
         'zoom': True,
         'showTooltip': True,
-        }
+    }
     default_highlighter = {
         'show': True,
         'sizeAdjust': 7.5,
-        }
+    }
     default_extra = {}
 
     # symbolic names easing configuration of [curve|axis|tick] renderers
@@ -120,20 +120,20 @@
                   'plugins/jqplot.donutRenderer.min.js'),
         'ohlc': (JSString('$.jqplot.OHLCRenderer'),
                  'plugins/jqplot.ohlcRenderer.js'),
-        }
+    }
     axis_renderers = {
         'linear': (JSString('$.jqplot.LinearAxisRenderer'), None),
         'date': (JSString('$.jqplot.DateAxisRenderer'),
                  'plugins/jqplot.dateAxisRenderer.min.js'),
         'category': (JSString('$.jqplot.CategoryAxisRenderer'),
                      'plugins/jqplot.categoryAxisRenderer.min.js'),
-        }
+    }
     tick_renderers = {
         'tick': (JSString('$.jqplot.CanvasAxisTickRenderer'),
                  ['plugins/jqplot.canvasTextRenderer.min.js',
                   'plugins/jqplot.dateAxisRenderer.min.js',
                   'plugins/jqplot.canvasAxisTickRenderer.min.js']),
-        }
+    }
 
     # available plot actions
     ACTIONS = {
@@ -145,7 +145,7 @@
                 'icon': 'icon_csv.gif',
                 'js': "cwplot.jsonToCsv(cwplot.seriesToArray(cw.cubes.jqplot.plots['%s']))",
                 },
-        }
+    }
 
     def call(self,
              # $.plot arguments
@@ -205,13 +205,13 @@
             'title': title,
             'cursor': cursor,
             'highlighter': highlighter,
-            }
+        }
         jqplot_args.update(extra)
         self._cw.html_headers.add_onload(self.onload % {
             'id': divid,
             'data': json_dumps(data),
             'jqplotArgs': js_dumps(jqplot_args),
-            })
+        })
         self.div_holder(divid, width, height)
         if displayfilter and not 'fromformfilter' in self._cw.form:
             self.form_filter(divid, mainvar)



More information about the cubicweb-devel mailing list