Skip to content

Commit ce09b0e

Browse files
authored
Merge pull request #6438 from edgarcosta/lmfdbtest
(ans) -> ans (and testing autopep8)
2 parents 2c4d52b + 68a7701 commit ce09b0e

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

lmfdb/lfunctions/LfunctionPlot.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def getAllMaassGraphHtml(degree, signature=""):
6565
l = groups[i][1][j]
6666
ans += getOneGraphHtml([g, l])
6767

68-
return (ans)
68+
return ans
6969

7070
# ============================================
7171
# Returns the header and information about the Gamma-factors for the
@@ -164,7 +164,7 @@ def getGroupHtml(group):
164164
else:
165165
ans = ""
166166

167-
return (ans)
167+
return ans
168168

169169

170170
# ============================================
@@ -190,7 +190,7 @@ def getOneGraphHtml(gls):
190190
+ "pluginspage='https://www.adobe.com/svg/viewer/install/'/>\n")
191191
ans += "<br/>\n"
192192

193-
return (ans)
193+
return ans
194194

195195
# ============================================
196196
# Returns the url and width and height of the svg-file for
@@ -212,7 +212,7 @@ def getGraphInfo(gls):
212212
ans['width'] = width
213213
ans['height'] = height
214214

215-
return (ans)
215+
return ans
216216

217217
# ============================================
218218
# Returns the width and height of the svg-file for
@@ -300,7 +300,7 @@ def paintSvgFileAll(glslist): # list of group and level
300300
ans += "</circle></a>\n"
301301

302302
ans += svgEnd()
303-
return (ans)
303+
return ans
304304

305305
# ============================================
306306
# Returns the svg-code for a simple coordinate system.
@@ -437,7 +437,7 @@ def getOneGraphHtmlHolo(condmax):
437437
+ "pluginspage='https://www.adobe.com/svg/viewer/install/'/>\n")
438438
ans += "<br/>\n"
439439

440-
return (ans)
440+
return ans
441441

442442

443443
# TODO cleanup here
@@ -983,7 +983,7 @@ def plotsector(dimensioninfo, appearanceinfo, urlinfo):
983983
ans += "\n"
984984
dotlocation = lincomb(1, dotlocation, dotspacing[1], edge[1])
985985
orbitbase = lincomb(1, orbitbase, dotspacing[0], edge[0])
986-
return (ans)
986+
return ans
987987

988988
# ==================
989989
# addlists: adds two lists as if they were vectors
@@ -1015,7 +1015,7 @@ def mydot(offset, scale, startpt, radius, color, shape, title):
10151015
ans += ">"
10161016
ans += "<title>" + str(title) + "</title>"
10171017
ans += "</circle>"
1018-
return (ans)
1018+
return ans
10191019

10201020

10211021
# ============================================
@@ -1035,7 +1035,7 @@ def mytext(thetext, offset, scale, startpt, endpt, fontsize, fontweight, fontcol
10351035
ans += ">"
10361036
ans += str(thetext)
10371037
ans += "</text>"
1038-
return (ans)
1038+
return ans
10391039

10401040

10411041
# ============================================
@@ -1061,7 +1061,7 @@ def myline(offset, scale, startpt, endpt, width, style, color):
10611061
ans += style + "; "
10621062
ans += "'"
10631063
ans += "/>"
1064-
return (ans)
1064+
return ans
10651065

10661066

10671067
# =================

0 commit comments

Comments
 (0)