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.

Support for raster graphics

See original GitHub issue

To support something like annotation_raster() in our R package, which would lead to awesomeness such as conversion of ggmap (people have been asking for this for a long time), I need support for displaying a matrix of arbitrary color codes. Using a heatmap seems out of the question since we can’t generate a sensible colorscale, and drawing a marker for each cell seems inefficient. Any thoughts on how to approach this?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
mdtuszcommented, Jun 28, 2016

The raster type will likely be used more for raw raster data rather than images - you can add images however using layout.images and setting the xref and yref to”” the respective axes. Note however that the image will be distorted when the plot bounds are changed (i.e. when zoomed).

0reactions
jackparmercommented, Jun 28, 2017

Thanks @ssfrr . If you have a link to a chart (both an SVG and GL version), that would help to debug. Here’s a link to a GL audio spectrogram for example: https://plot.ly/~PythonPlotBot/829

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Ultimate Raster Graphics Software List: 8 to Consider – Path
Below, we break down what a raster graphic file is and share a top raster graphics software list with nine programs to consider...
Read more >
What are raster image files? - Adobe
Raster image files use pixels to display high-quality photos and graphics. Learn more about how they work, what they're used for, and their...
Read more >
List of supported raster and image data formats—ArcMap
Raster or image data format Raster dataset Raster type ADS Raster types AIRSAR Polarimetric Raster dataset Applanix DSS Raster type
Read more >
Raster Images vs. Vector Graphics | The Printing Connection
Raster graphics are best used for non-line art images; specifically digitized photographs, scanned artwork or detailed graphics. Non-line art images are best ...
Read more >
Raster graphics | Definition, Examples, Advantages, & Facts
A raster graphic is made up of a collection of tiny, uniformly sized pixels, which are arranged in a two-dimensional grid made up...
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