ngfelixl / nodeplotlib

NodeJS plotting library for JavaScript and TypeScript. On top of plotly.js. Inspired by matplotlib.
https://www.npmjs.com/package/nodeplotlib
MIT License
195 stars 24 forks source link

Graphs overlap if I set the size #85

Open sbrl opened 1 year ago

sbrl commented 1 year ago

Describe the bug If I set the width property in the layout and have multiple graphs, then the graphs will overlap one another.

To Reproduce Steps to reproduce the behavior:

  1. Define 2 graphs with a layout of { width: 1024 }
  2. See them overlap

Expected behaviour When I specify the width and height of multiple graphs, they should not overlap with one another.

Screenshots image

Desktop (please complete the following information):