Skip to content

Commit a805ff4

Browse files
committed
Fixed the error while saving images
1 parent 96855fb commit a805ff4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pgd_search/plot/PlotForm.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,10 @@ def clean(self):
165165
data['attribute'] = data['attribute'].replace('-','_')
166166
except KeyError:
167167
pass
168-
if not data['background_color'] :
169-
data['background_color'] = 'Transparent'
170168
if not data['graph_color'] :
171-
data['graph_color'] = 'Dark Gray'
169+
data['graph_color'] = '#222222'
172170
if not data['hash_color'] :
173-
data['hash_color'] = 'Gray'
171+
data['hash_color'] = '#666666'
174172
if not data['text_color'] :
175-
data['text_color'] = 'Black'
173+
data['text_color'] = '#000000'
176174
return data

0 commit comments

Comments
 (0)