home / github / commits

Menu
  • GraphQL API
  • Search all tables

commits: 9f118624e7924c80fc305f351fa9621d2b58514c

This data as json

sha message author_date committer_date raw_author raw_committer repo author committer
9f118624e7924c80fc305f351fa9621d2b58514c Surface plots (#5101) * Use broadcast_like for 2d plot coordinates Use broadcast_like if either `x` or `y` inputs are 2d to ensure that both have dimensions in the same order as the DataArray being plotted. Convert to numpy arrays after possibly using broadcast_like. Simplifies code, and fixes #5097 (bug when dimensions have the same size). * Update whats-new * Implement 'surface()' plot function Wraps mpl_toolkits.mplot3d.axes3d.plot_surface * Make surface plots work with facet grids * Unit tests for surface plot * Minor fixes for surface plots * Add surface plots to api.rst and api-hidden.rst * Update whats-new * Fix tests * mypy fix * seaborn doesn't work with matplotlib 3d toolkit * Remove cfdatetime surface plot test Does not work because the datetime.timedelta does not work with surface's 'shading'. * Ignore type checks for mpl_toolkits module * Check matplotlib version is new enough for surface plots * version check requires matplotlib * Handle matplotlib not installed for TestSurface version check * fix flake8 error * Don't run test_plot_transposed_nondim_coord for surface plots Too complicated to check matplotlib version is high enough just for surface plots. * Apply suggestions from code review Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> * More suggestions from code review * black * isort and flake8 * Make surface plots more backward compatible Following suggestion from Illviljan * Clean up matplotlib requirement * Update xarray/plot/plot.py Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> * Use None as default value * black * More 2D plotting method examples in docs * Fix docs * [skip-ci] Make example surface plot look a bit nicer Co-authored-by: Mathias Hauser <mathause@users.noreply.github.com> Co-authored-by: Mathias Hauser <mathias.hauser@env.ethz.ch> 2021-05-03T13:05:02Z 2021-05-03T13:05:02Z 7e21ec85163297602c88c6fc49638c2c95b296a9 cd792325681cbad9f663f2879d8b69f1edbb678f 13221727 3958036 19864447
Powered by Datasette · Queries took 0.974ms · About: xarray-datasette