Skip to content

Images for logos, diagramming, etc. #496

Closed
@mdtusz

Description

@mdtusz

@etpinard @cldougl

For adding logos or other visual elements to plots that are not specifically data. A proposed interface is to add an images layout attribute:

{
  images: [{
    source: 'http://www.placekitten.com/450/450', // always kittens
    opacity: 0.8,
    layer: 'above',
    xanchor: 'center',
    yanchor: 'top',
    x: 0.5,
    y: 0,
    xref: 'paper', // default to use paper ref?
    yref: 'paper',
    width: 0.2 // smart aspect ratio preservation unless both dimensions given?
  }]
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions