-
Notifications
You must be signed in to change notification settings - Fork 349
Description
I want to use the "plot_pathline" to plot the CrossSection result, which from 0 layer to bottom.
I have used the latest version of flopy, and try an example which is similar with the flopy3_modpath6_example.ipynb, there is such error:
`fig = plt.figure(figsize=(80, 25))
ax = fig.add_subplot(1, 1, 1, aspect='equal')
mx = flopy.plot.PlotCrossSection(ax=ax, model=swt, line={'row': 0})
ibound = mx.plot_ibound()
grid = mx.plot_grid(color='0.3', alpha=0.1)
quadmesh = mx.plot_bc('WEL', kper=4)
contour_set = mx.contour_array(hds, levels=np.arange(np.min(hds),np.max(hds),0.5), colors='b')
plt.clabel(contour_set, inline=True, fontsize=35)
mx.plot_endpoint(well_epd, direction='starting', colorbar=True)
#for now, each particle must be plotted individually
#(plot_pathline() will plot a single line for recarray with multiple particles)
#for pid in np.unique(well_pathlines.particleid):
#modelmap.plot_pathline(pthobj.get_data(pid), layer='all', colors='red');
mx.plot_pathline(well_pathlines, method='cell', colors='red')`
