Skip to content

Commit

Permalink
feat: invert color ramp
Browse files Browse the repository at this point in the history
  • Loading branch information
merydian committed Jun 7, 2024
1 parent 9606d28 commit 4eebbc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ORStools/common/isochrones_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def stylePoly(self, layer: QgsMapLayer) -> None:
ramp_name = "Spectral"
default_style = QgsStyle().defaultStyle()
color_ramp = default_style.colorRamp(ramp_name)
color_ramp.invert()
num_classes = len(unique_values)

renderer = QgsGraduatedSymbolRenderer(self.field_dimension_name)
Expand Down

0 comments on commit 4eebbc1

Please sign in to comment.