Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix symbol and map glitches #383

Merged
merged 4 commits into from
Oct 21, 2024
Merged

Fix symbol and map glitches #383

merged 4 commits into from
Oct 21, 2024

Conversation

ceriottm
Copy link
Contributor

@ceriottm ceriottm commented Oct 17, 2024

Fixes #380 - or at least, patches up the most glaring problem and adds a bunch of symbols by monkey-patching plotly. The symbols are glyphs from fonts, so size depends on which font is picked that seems to be browser dependent. Also tackles a couple of small glitches when switching back and forth from 3D/2D

@ceriottm ceriottm requested a review from Luthaf October 17, 2024 22:02
@ceriottm ceriottm mentioned this pull request Oct 17, 2024

// in 3D mode, only strings are supported for 'marker.symbol'.
/* eslint-disable */
const markers3d = require('./plotly/markers3d');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not import here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't get it to work as an import from both javascript and typescript in any other way. if you know how to do it, change it, I couldn't figure anything else that worked

@Luthaf Luthaf merged commit 59befb4 into main Oct 21, 2024
6 checks passed
@Luthaf Luthaf deleted the map-fixes branch October 21, 2024 08:17
@bernstei
Copy link
Collaborator

Sorry I didn't get a chance to check this before you merged, but so far it looks like it fixes the problem for me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"x" symbol size too big
3 participants