mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
change colors
This commit is contained in:
1 parent
bb97f1977b
commit
2d2484d8fa
2 files changed
+4
-4
No files matched your search
@@ -101,7 +101,7 @@ class PlotKPC(PamhyrPlot):
|
||||
|
||||
self.canvas.axes.fill_between(
|
||||
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(
|
||||
|
||||
@@ -136,7 +136,7 @@ class PlotXY(PamhyrPlot):
|
||||
poly_x = [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()
|
||||
@@ -203,8 +203,8 @@ class PlotXY(PamhyrPlot):
|
||||
#marker='o'
|
||||
#)
|
||||
|
||||
poly_x = poly_l_x + list(reversed(poly_r_x)) + [poly_l_x[0]]
|
||||
poly_y = poly_l_y + list(reversed(poly_r_y)) + [poly_l_y[0]]
|
||||
poly_x = poly_l_x + list(reversed(poly_r_x))
|
||||
poly_y = poly_l_y + list(reversed(poly_r_y))
|
||||
poly = []
|
||||
for i in range(len(poly_x)):
|
||||
poly.append([poly_x[i], poly_y[i]])
|
||||
|
||||
Reference in new issue
Block a user