Skip to content

Commit e8bbcc0

Browse files
Fix flake8 formatting issue.
1 parent 9c2efed commit e8bbcc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ipyleaflet/leaflet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -825,11 +825,11 @@ class Heatmap(RasterLayer):
825825
gradient = Dict({0.4: 'blue', 0.6: 'cyan', 0.7: 'lime', 0.8: 'yellow', 1.0: 'red'}).tag(sync=True, o=True)
826826
colors = ['blue', 'cyan', 'lime', 'yellow', 'red']
827827
values = [0.4, 0.6, 0.7, 0.8, 1.0]
828-
dict ={}
828+
dict = {}
829829
for i in range(len(values)):
830830
dict[values[i]] = colors[i]
831831
vmin = values[0]
832-
vmax = values[len(values)-1]
832+
vmax = values[len(values) - 1]
833833
gradient = Dict(dict).tag(sync=True, o=True)
834834
colormap = LinearColormap(colors, vmin=vmin, vmax=vmax)
835835

0 commit comments

Comments
 (0)