mirror of https://gitlab.com/pamhyr/pamhyr2
change colors
parent
bb97f1977b
commit
2d2484d8fa
|
|
@ -101,7 +101,7 @@ class PlotKPC(PamhyrPlot):
|
||||||
|
|
||||||
self.canvas.axes.fill_between(
|
self.canvas.axes.fill_between(
|
||||||
kp, z_min, water_z,
|
kp, z_min, water_z,
|
||||||
color='blue', alpha=0.5, interpolate=True
|
color='skyblue', alpha=0.7, interpolate=True
|
||||||
)
|
)
|
||||||
|
|
||||||
self.profile, = self.canvas.axes.plot(
|
self.profile, = self.canvas.axes.plot(
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@ class PlotXY(PamhyrPlot):
|
||||||
poly_x = [0]
|
poly_x = [0]
|
||||||
poly_y = [0]
|
poly_y = [0]
|
||||||
|
|
||||||
self.fill = self.canvas.axes.fill(poly_x, poly_y, color='blue', alpha=1)
|
self.fill = self.canvas.axes.fill(poly_x, poly_y, color='skyblue', alpha=0.7)
|
||||||
|
|
||||||
#self.canvas.axes.autoscale_view(True, True, True)
|
#self.canvas.axes.autoscale_view(True, True, True)
|
||||||
#self.canvas.axes.autoscale()
|
#self.canvas.axes.autoscale()
|
||||||
|
|
@ -203,8 +203,8 @@ class PlotXY(PamhyrPlot):
|
||||||
#marker='o'
|
#marker='o'
|
||||||
#)
|
#)
|
||||||
|
|
||||||
poly_x = poly_l_x + list(reversed(poly_r_x)) + [poly_l_x[0]]
|
poly_x = poly_l_x + list(reversed(poly_r_x))
|
||||||
poly_y = poly_l_y + list(reversed(poly_r_y)) + [poly_l_y[0]]
|
poly_y = poly_l_y + list(reversed(poly_r_y))
|
||||||
poly = []
|
poly = []
|
||||||
for i in range(len(poly_x)):
|
for i in range(len(poly_x)):
|
||||||
poly.append([poly_x[i], poly_y[i]])
|
poly.append([poly_x[i], poly_y[i]])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue