save previews in graphics

This commit is contained in:
dominik
2022-10-30 18:45:43 +01:00
parent 8d148b639b
commit 0ba872571b
6 changed files with 164 additions and 146 deletions

View File

@ -336,8 +336,8 @@ class PlotItem(PlotDataItem):
opts = self.opts
item_dic = {
'x': x, 'y': y,
'name': opts['name'],
'symbolsize': opts['symbolSize']
'name': opts.get('name', ''),
'symbolsize': opts['symbolSize'],
}
if opts['symbol'] is None: