Spaces:
Runtime error
Runtime error
padding
Browse files103 unmodified lines104105106107108109110116 unmodified lines227228229230231232233103 unmodified lines# shift origin up/left by the buffer so original data lands insettransform=Affine(src.transform.a, src.transform.b, src.transform.c - buf_px_x * res_x,src.transform.d, src.transform.e, src.transform.f - buf_px_y * res_y))116 unmodified linesax.set_ylim(rb.bottom, rb.top)if not cleaned.empty:# draw filled polygons faintly, then crisp boundaries on topcleaned.plot(ax=ax, facecolor="none", edgecolor="cyan", linewidth=1.2, zorder=20)if crowns_boundary is not None:crowns_boundary.plot(ax=ax, color="cyan", linewidth=1.2, zorder=21)ax.set_xticks([]); ax.set_yticks([]); ax.set_frame_on(False)103 unmodified lines104105106107108109110116 unmodified lines227228229230231232233234235236237238239240103 unmodified lines# shift origin up/left by the buffer so original data lands insettransform=Affine(src.transform.a, src.transform.b, src.transform.c - buf_px_x * res_x,src.transform.d, src.transform.e, src.transform.f + buf_px_y * res_y))116 unmodified linesax.set_ylim(rb.bottom, rb.top)if not cleaned.empty:# draw filled polygons faintly, then crisp boundaries on topcleaned.plot(ax=ax,facecolor="none",edgecolor="lime",linewidth=2.0,zorder=50,alpha=1.0)if crowns_boundary is not None:crowns_boundary.plot(ax=ax, color="cyan", linewidth=1.2, zorder=21)ax.set_xticks([]); ax.set_yticks([]); ax.set_frame_on(False)
app.py+9-2