Open noahrhodes opened 3 years ago
I don't know what I'm talking about, but this could make using SetField to change the plot easier
I saw an example in a julia video. Enums are symbols that resolve to a value:
:branch_layer => 1 :bus_layer =>3
:branch_layer => 1
:bus_layer =>3
then setfield could change the bus legend title with: @set plot.layer[:bus_layer]["color"]["title"]="Bus kV"
@set plot.layer[:bus_layer]["color"]["title"]="Bus kV"
I don't know what I'm talking about, but this could make using SetField to change the plot easier
I saw an example in a julia video. Enums are symbols that resolve to a value:
:branch_layer => 1
:bus_layer =>3
then setfield could change the bus legend title with:
@set plot.layer[:bus_layer]["color"]["title"]="Bus kV"