-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
5 changed files
with
49 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** @type {{ [key: string]: string }} */ | ||
const markers3d_dict = { | ||
circle: '●', | ||
square: '■', | ||
diamond: '◆', | ||
cross: '✚', | ||
x: '✖', | ||
'triangle-up': '▲', | ||
'triangle-down': '▼', | ||
'triangle-left': '◀', | ||
'triangle-right': '▶', | ||
'triangle-ne': '◥', | ||
'triangle-se': '◢', | ||
'triangle-sw': '◣', | ||
'triangle-nw': '◤', | ||
pentagon: '⬟', | ||
hexagon: '⬢', | ||
hexagon2: '⬣', | ||
octagon: '⯃', | ||
star: '🟊', | ||
hexagram: '🟌', | ||
hourglass: '⧗', | ||
bowtie: '⧓', | ||
}; | ||
|
||
export default markers3d_dict; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters