question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add/fix plot methods to Datasets

See original GitHub issue

The following benchmark datasets need plot(...) methods:

  • ADVANCE (#264)
  • BeninSmallHolderCashews (#264)
  • BigEarthNet (#264)
  • COWC (#300)
  • CV4AKenyaCropType (#312)
  • TropicalCycloneWindEstimation (#298)
  • GID15 (#288)
  • LEVIRCDPlus (#335)
  • VHR10 (#798)
  • PatternNet (#314)
  • SEN12MS (#320)
  • SpaceNet (#252, #311)
  • ZueriCrop (#334)

Further, the plot(...) methods of RasterDataset and VectorDataset need to be removed, and added individually to:

  • CanadianBuildingFootprints (#410)
  • CDL (#415)
  • NAIP (#407)
  • Landsat (#661)
  • ChesapeakeCVPR (#820)
  • Sentinel (#416)

The ChesapeakeCVPR dataset is a bit of an outlier as it is a GeoDataset. I need to think more about that.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ashnair1commented, Nov 19, 2021

@calebrob6 I’ve added the plot method to the SpaceNet baseclass so all currently implemented SpaceNet datasets (1,2,4,7) can be plotted.

1reaction
calebrob6commented, Dec 2, 2021

How should we handle plotting for IntersectionDataset/UnionDataset?

If you aren’t doing anything too crazy, you should be able to send the samples that you get from the joined dataset to the individual dataset.plot(...) methods. For example, with the Landsat8 & CDL dataset, you will be able to call both the Landast8 and CDL plot methods with the resulting samples. You could get crazy and make an IntersectionDataset.plot(...) that calls each sub-datasets’s plot method and stitches together the resulting plt.Figures into some Frankenstein monster.

Read more comments on GitHub >

github_iconTop Results From Across the Web

plotting tutorial - PHOEBE | Documentation
Plotting. This tutorial explains the high-level interface to plotting provided by the Bundle. You are of course always welcome to access arrays and...
Read more >
3. Create Overlay Plots from Different Datasets - YouTube
Video #3 of Certara University's Weekly Phoenix Tip Series. This video will show you how to overlay data from different sources into one ......
Read more >
11.5 Graphing with Different Datasets | R for Graduate Students
11.5 Graphing with Different Datasets. One final note is that geom elements ( geom_point() , geom_line() , etc.) can plot data from two...
Read more >
Data Visualization using Python for Machine Learning and ...
There may be some loss of information with each DR techniques, but only they can help us visualize very high dimensional data on...
Read more >
Plotting - Xarray
TODO: add an example of using the map method to plot dataset variables (e.g., with plt.quiver ). Datasets#. Xarray has limited support for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found