Skip to content

MathJax does not render in hover labels #559

Description

@nibage

In the example at https://plot.ly/javascript/LaTeX/ when hovering over the plotted points, the graph shows latex code instead of rendered math text.

Activity

  1. mdtusz commented on May 23, 2016

    @mdtusz
    Contributor

    Confirmed as a bug. Thanks for reporting this!.

  2. etpinard commented on May 25, 2016

    @etpinard
    Contributor

    Yep, thanks for reporting. This has been a bug ever since we added support for MathJax more than two years ago.

  3. etpinard commented on May 25, 2016

    @etpinard
    Contributor

    It might worthwhile to look into swapping MathJax for KaTeX.

  4. changed the title [-]Latex mode bug[/-] [+]MathJax does not render in hover labels[/+] on Jul 11, 2016
  5. sglyon commented on Jul 26, 2016

    @sglyon

    @etpinard has any testing been done on moving to KaTeX?

  6. etpinard commented on Jul 28, 2016

    @etpinard
    Contributor

    @spencerlyon2 No. This is not a high priority for us at the moment,

  7. added and removed
    bugsomething broken
    on Mar 25, 2019
  8. archmoj commented on Jan 11, 2022

    @archmoj
    Contributor

    It might worthwhile to look into swapping MathJax for KaTeX.

    The following page could be helpful for comparing MathJax v3 and KaTeX:
    https://news.ycombinator.com/item?id=22582343

  9. ChasingZenith commented on Sep 13, 2022

    @ChasingZenith

    From my browser, it look like this, maybe escape sequence prefix is needed, for example '\\alpha'
    instead of '\alpha'

    on Chrome

    Screenshot_20220913_210136

    Also, I find that on firefox, the legend size is not correct. (Maybe I should open another issue.)

    On firefox

    Screenshot_20220913_210346

    Another example for incorrect legend in firefox

    on firefox

    Screenshot_20220913_210715

    on chrome

    Screenshot_20220913_210847

  10. self-assigned this
    on Jun 5, 2024
  11. removed their assignment
    on Aug 2, 2024
  12. khumarahn commented on Aug 6, 2024

    @khumarahn

    Now latex doesn't render in the basic example here: https://plotly.com/javascript/LaTeX/
    image

  13. added
    bugsomething broken
    P2considered for next cycle
    and removed on Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2considered for next cyclebugsomething broken

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions