Title: Axis labels and tick labels in 3D plots do not use fonts loaded from remote server · Issue #7413 · plotly/plotly.js · GitHub
Open Graph Title: Axis labels and tick labels in 3D plots do not use fonts loaded from remote server · Issue #7413 · plotly/plotly.js
X Title: Axis labels and tick labels in 3D plots do not use fonts loaded from remote server · Issue #7413 · plotly/plotly.js
Description: I have an HTML export of a 3D figure created using the Python API. For website embedding, I load a custom font from a server. For the example here, I'll just use a Google Font with a distinct style: \n```\n\nI include a template in the plot layout so that this font is used for axis labels, tick labels, and et cetera. For 2D plots, this works as expected. For 3D plots, the axis and tick labels do not use the font at all.\n\nI can't share the HTML export, but I recreated a minimal example from scratch to demonstrate this using Plotly.js:\n\n[plotly-3d-graph-font-issue.html.zip](https://github.com/user-attachments/files/20008714/plotly-3d-graph-font-issue.html.zip)\n\n\u003cimg width=\"1511\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/84340d27-c33a-40c6-9900-eae9f537c1a1\" />\n","author":{"url":"https://github.com/wasimxyz","@type":"Person","name":"wasimxyz"},"datePublished":"2025-05-02T05:26:09Z","url":"https://github.com/plotly/plotly.js/issues/7413"}
react-profiling 0 react-import-map react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:fadb2270-926f-c6a8-cebb-f38b603a214e current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id C098:240CD1:2C922A3:38AD194:6B01B6B0 html-safe-nonce fdb42afd1e3eb357bce7434e8c5e7e9ff705c03e0c207205f73f356a6295ed80 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDk4OjI0MENEMToyQzkyMkEzOjM4QUQxOTQ6NkIwMUI2QjAiLCJ2aXNpdG9yX2lkIjoiMTMyNjAyNjYxMTMyOTQ0NzYwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 25c09458a85b6382ef38b2cc88667e9f2280f37aef87724d45f31c4dee026ad9 hovercard-subject-tag issue:3035211079 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/7413/issue_layout twitter:image https://opengraph.githubassets.com/f8983c054691a2ffb2d557cd08de6584c2a390a30059c159e0f64d225bac3443/plotly/plotly.js/issues/7413 twitter:card summary_large_image og:image https://opengraph.githubassets.com/f8983c054691a2ffb2d557cd08de6584c2a390a30059c159e0f64d225bac3443/plotly/plotly.js/issues/7413 og:image:alt I have an HTML export of a 3D figure created using the Python API. For website embedding, I load a custom font from a server. For the example here, I'll just use a Google Font with a distinct style... og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username wasimxyz hostname github.com expected-hostname github.com None cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c turbo-cache-control no-preview go-import github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git octolytics-dimension-user_id 5997976 octolytics-dimension-user_login plotly octolytics-dimension-repository_id 45646037 octolytics-dimension-repository_nwo plotly/plotly.js octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 45646037 octolytics-dimension-repository_network_root_nwo plotly/plotly.js turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 8c77c9e8439031ad54c75a250694842892f693e1 ui-target full theme-color #1e2327 color-scheme light dark react-app-name issues
Links:
Viewport: width=device-width