mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
SL: Plots reverse draw order.
This commit is contained in:
1 parent
17d4b15761
commit
47ec0ac9b5
3 files changed
+11
-11
No files matched your search
@@ -68,13 +68,13 @@ class Plot(APlot):
|
||||
[z]
|
||||
)
|
||||
|
||||
for i, zsl in enumerate(z_sl):
|
||||
for i, zsl in enumerate(reversed(z_sl)):
|
||||
self.line_kp_sl.append(None)
|
||||
self.line_kp_sl[i], = self.canvas.axes.plot(
|
||||
x, zsl,
|
||||
linestyle="solid" if i == 0 else "--",
|
||||
linestyle="solid" if i == len(z_sl) - 1 else "--",
|
||||
lw=1.8,
|
||||
color='grey' if i == 0 else None
|
||||
color='grey' if i == len(z_sl) - 1 else None
|
||||
)
|
||||
|
||||
self.canvas.figure.tight_layout()
|
||||
|
||||
Reference in new issue
Block a user