Commit 2d2484d8 authored by Theophile Terraz's avatar Theophile Terraz
Browse files

change colors

Showing with 4 additions and 4 deletions
+4 -4
...@@ -101,7 +101,7 @@ class PlotKPC(PamhyrPlot): ...@@ -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): ...@@ -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): ...@@ -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]])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment