Browse Source

fix error in station distribution plot

tags/v1.4.0
Mohammadreza Jamalreyhani 1 year ago
committed by Gogs
parent
commit
1811a41620
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/targets/plot.py

+ 2
- 1
src/targets/plot.py View File

@@ -110,8 +110,9 @@ class StationDistributionPlot(PlotConfig):
# Legend
entries = 4
valid_marker = num.argmax(valid)
ecl = stations.get_edgecolor()
fc = tuple(stations.get_facecolor()[valid_marker])
ec = tuple(stations.get_edgecolor()[valid_marker])
ec = tuple(ecl[min(valid_marker, len(ecl)-1)])

def get_min_precision(values):
sig_prec = num.floor(


Loading…
Cancel
Save