-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Hi,
When I create a pie chart in QGIS layout as an item everything works fine (except the small text issue which remains to be solved - #349 ).
But once I've saved the project and when I come back to it later, turns out I can't edit the pie chart anymore ("object properties" in the QGIS layout)
When I click on the object I have this message on the Python console :
Traceback (most recent call last):
File "C:\Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\gui\layout_item_gui.py", line 265, in createItemWidget
return PlotLayoutItemWidget(None, item)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\gui\layout_item_gui.py", line 81, in init
self.populate_plot_list()
File "C:\Users/user/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\DataPlotly\gui\layout_item_gui.py", line 101, in populate_plot_list
legend_title = ('[' + setting.properties.get('name') + ']')
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TypeError: can only concatenate str (not "NoneType") to str
Dataplotly v4.3.2
Version de Python : 3.12.10 (main, Apr 9 2025, 08:14:47) [MSC v.1943 64 bit (AMD64)]
Version de QGIS : 3.42.2-Münster Münster, 402273f8c2