plotly / plotly/Plotly.NET

Add ImageExport renderer for playwright-dotnet

Open
#393 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: ImageExport Difficulty: Advanced FeatureRequest FsLab Hackathon 2023 Type: Enhancement
Dominant language
F#
Stars
860
Forks
99
Avg merge
22m
Merged PRs (30d)
1

Description

Description

As plotly.js, the underlying library that Plotly.NET is using needs an environment that can execute javascript to render images programmatically.

https://github.com/microsoft/playwright-dotnet seems to be another stable, mature option for automating tasks on a headless browser.

Pointers
  • A reference implementation for this using PuppeteerSharp can be seen here

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading src/Plotly.NET.ImageExport/PuppeteerSharpRenderer.fs, the referenced implementation for image export. Use it to understand the expected renderer shape before investigating the playwright-dotnet API. Done means a comparable ImageExport renderer is available for playwright-dotnet and the existing image-export behavior remains supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.