Skip to content

Edit styles for stacked plots

Raphael Delhome requested to merge fix-stacked-symbology-edition into master

This MR fixes a small bug in the stacked plot style edition (introduced by !115 (merged)).

The problem was that default render type for stacked data was set to the main data render type. Hence, if this render type was a line, or a polygon, the user may encounter some unexpected behaviors (see #102 (closed)). A cleaner of considering style edition is to be aware of previous render type for every single stacked data.

From now, the edit_style function takes advantage of the existing get_renderer_info() function, and becomes more simple (no need for the ugly candidate_renderers dictionnary).

Related issue: #102 (closed)

Merge request reports