mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Results: Plot: XY: Fix fill.
This commit is contained in:
1 parent
6356bab320
commit
32fb90521f
1 file changed
+2
-3
@@ -159,9 +159,8 @@ class PlotXY(APlot):
|
||||
|
||||
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]]
|
||||
# FIXME: Fill do not works ? (tmp fix: use plot)
|
||||
self.canvas.axes.fill(poly_x, poly_y, color='blue', alpha=0.5)
|
||||
self.canvas.axes.plot(poly_x, poly_y, color='blue', alpha=0.5)
|
||||
|
||||
self.canvas.axes.fill(poly_x, poly_y, color='blue', alpha=1)
|
||||
|
||||
self.canvas.axes.autoscale_view(True, True, True)
|
||||
self.canvas.axes.autoscale()
|
||||
|
||||
Reference in new issue
Block a user