Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alpha parameter to plot_bands #409

Closed
lwasser opened this issue Aug 29, 2019 · 1 comment
Closed

Add alpha parameter to plot_bands #409

lwasser opened this issue Aug 29, 2019 · 1 comment
Assignees

Comments

@lwasser
Copy link

lwasser commented Aug 29, 2019

it would be ideal to be able to do:

fig, ax = plt.subplots(figsize = (10,6))
ax.imshow(lidar_dem_hill, cmap='Greys')
fin_plot = ax.imshow(lidar_dem_im, cmap='viridis_r', alpha=.5)
fig.colorbar(fin_plot, fraction=.024, pad=.02)
ax.set_axis_off()
ax.set(title="Lidar Digital Elevation Model (DEM)\n overlayed on top of a hillshade")
plt.show()
fig, ax = plt.subplots(figsize = (10,6))
ep.plot_bands(lidar_dem_hill, cmap='Greys', ax=ax)
ep.plot_bands(lidar_dem_im, cmap='viridis_r', alpha=.5, ax=ax, title="Lidar Digital Elevation Model (DEM)\n overlayed on top of a hillshade")
plt.show()

so essentially we just need to add alpha as a parameter.

@lwasser lwasser changed the title Add alpha paremeter to plot_bands Add alpha parameter to plot_bands Aug 29, 2019
@lwasser
Copy link
Author

lwasser commented Sep 5, 2019

completed via #412

@lwasser lwasser closed this as completed Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants