The plot methods in Datasets should be flexible
See original GitHub issueAs a user I will frequently want to plot
images, predictions, masks, etc. The current definition of plot
in RasterDataset is limited.
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Plotting - GitHub Pages
The beauty of plotting in R is the flexibility of the graphing system. This flexibility, however, can also make it challenging to develop...
Read more >Create a "flexible plot" or flexplot - Rdrr.io
Create a flexible plot. Flexplot will allow users to create histograms, barcharts, jittered density plots, paneled plots, scatterplots, etc.
Read more >Homework 1 for STATS216 by Bruno Pen Wu - Amazon AWS
e) An inflexible method is better in this case. Although a more flexible model would (all else being equal) capture the highly non-linear...
Read more >A Generic Graph-Based Method for Flexible Aspect-Opinion ...
Applying the generic model to a real-world dataset demonstrates superior functionality and flexibility compared to related works.
Read more >Introduction to Statistical Learning - Chap2 Solutions - RPubs
Better. A flexible method will fit the data closer and with the large sample size, would perform better than an inflexible approach. The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep makes sense! I just see that as part of the normal work (and not like an extra burden).
I think we roughly agree (that plotting should happen in the dataset, that it should assume the values it gets are the same values that are returned by a call to getitem, and that we should return a figure).
The only tricky part I see is “denormalizing” samples in
val_step(...)
(or anywhere in a LightningModule). If a LightningModule knows about its DataModule then this should be fixed!(I’m not understanding you) So you think title and suptitle should be non optional?
For kwargs, I can see where your coming from – but now, how do they get routed to the correct
imshow(...)
. E.g. for aplot(...)
for a land cover dataset you will have animshow(imagery)
and also animshow(mask, cmap=default_cmap, vmin=0, vmax=7, interpolation="none")
. You would need to have separate kwargs routed to both of them. Then, for other datasets maybe you only have a singleimshow(...)
.