We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Chapter 1 code is not compatible with Google Colab as it request access to latex to render some of the network plots.
Thanks to a reader for reporting this issue.
The text was updated successfully, but these errors were encountered:
This fixes to this include installing the latex subsystem
!sudo apt-get install texlive-latex-recommended !sudo apt-get install dvipng texlive-latex-extra texlive-fonts-recommended !sudo apt-get install cm-super
ensuring cm-super is installed as the font used by matplotlib
cm-super
matplotlib
another option is to switch of tex from matplotlib rendering
from matplotlib import rc rc('text', usetex=False)
Idea: We may want to add the ability to specify a colab builder as an output in sphinx-tojupyter such as
colab
sphinx-tojupyter
````{colab} ```{code-cell} from matplotlib import rc rc('text', usetex=False) ``` ````
that would include
Sorry, something went wrong.
No branches or pull requests
The Chapter 1 code is not compatible with Google Colab as it request access to latex to render some of the network plots.
Thanks to a reader for reporting this issue.
The text was updated successfully, but these errors were encountered: