Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def plot_obs_freq(predictor_matrix, code):
coastline = mv.mcoast(
map_coastline_thickness=2, map_boundaries="on", map_coastline_colour="chestnut"
)
symbol = mv.msymb(
legend="on",
symbol_type="marker",
symbol_table_mode="on",
symbol_outline="on",
symbol_min_table=[1, 2, 5, 10, 15, 20, 25, 30],
symbol_max_table=[2, 5, 10, 15, 20, 25, 30, 100000],
symbol_colour_table=[
"RGB(0.7020,0.7020,0.7020)",
"RGB(0.4039,0.4039,0.4039)",
"blue",
"RGB(0.4980,1.0000,0.0000)",
"RGB(1.0000,0.8549,0.0000)",
"orange",
"red",
"magenta",
],
def plot_avg(predictor_matrix, code):
coastline = mv.mcoast(
map_coastline_thickness=2, map_boundaries="on", map_coastline_colour="chestnut"
)
symbol = mv.msymb(
legend="on",
symbol_type="marker",
symbol_table_mode="on",
symbol_outline="on",
symbol_min_table=[-1, -0.25, 0.25, 2],
symbol_max_table=[-0.025, 0.25, 2, 1000],
symbol_colour_table=[
"RGB(0.0000,0.5490,0.1882)",
"black",
"RGB(1.0000,0.6902,0.0000)",
"red",
],
symbol_marker_table=15,
symbol_height_table=0.3,
)
def plot_std(predictor_matrix, code):
coastline = mv.mcoast(
map_coastline_thickness=2, map_boundaries="on", map_coastline_colour="chestnut"
)
symbol = mv.msymb(
legend="on",
symbol_type="marker",
symbol_table_mode="on",
symbol_outline="on",
symbol_min_table=[0, 0.0001, 0.5, 1, 2, 5],
symbol_max_table=[0.0001, 0.5, 1, 2, 5, 1000],
symbol_colour_table=[
"RGB(0.7020,0.7020,0.7020)",
"RGB(0.2973,0.2973,0.9498)",
"RGB(0.1521,0.6558,0.5970)",
"RGB(1.0000,0.6902,0.0000)",
"red",
"RGB(1.0000,0.0000,1.0000)",
],
symbol_marker_table=15,
symbol_height_table=0.3,