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

Actually enable Mathjax with enable_mathjax #5904

Merged
merged 4 commits into from
Oct 2, 2023
Merged

Actually enable Mathjax with enable_mathjax #5904

merged 4 commits into from
Oct 2, 2023

Conversation

hoxbro
Copy link
Member

@hoxbro hoxbro commented Sep 23, 2023

This should now enable Mathjax without both in a notebook and when running panel serve.

import holoviews as hv
import panel as pn

hv.extension("bokeh", enable_mathjax=True)

a = hv.Rectangles([[0, 0, 1, 1]]).opts(title=r"$$\alpha \beta$$", xlabel="$$y$$")

pn.panel(a).servable()

Should fix the problem described in #5740 (comment)

holoviews/util/__init__.py Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Sep 23, 2023

Codecov Report

Merging #5904 (fc11633) into main (79008ed) will decrease coverage by 0.01%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main    #5904      +/-   ##
==========================================
- Coverage   88.41%   88.41%   -0.01%     
==========================================
  Files         312      312              
  Lines       64953    64955       +2     
==========================================
+ Hits        57427    57428       +1     
- Misses       7526     7527       +1     
Flag Coverage Δ
ui-tests 23.33% <33.33%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
holoviews/util/__init__.py 73.88% <50.00%> (-0.09%) ⬇️
holoviews/ipython/__init__.py 75.77% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

holoviews/util/__init__.py Outdated Show resolved Hide resolved
@hoxbro hoxbro merged commit d549136 into main Oct 2, 2023
11 checks passed
@hoxbro hoxbro deleted the mathjax branch October 2, 2023 09:15
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants