Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
34594: f -> f.name
Browse files Browse the repository at this point in the history
  • Loading branch information
seblabbe committed Sep 29, 2022
1 parent 4b1d7cd commit 81ff989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/misc/latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -1859,7 +1859,7 @@ def view(objects, title='Sage', debug=False, sep='', tiny=False,
sage: with NamedTemporaryFile(mode="w+t", suffix=".tex") as f: # optional - latex latex_package_tkz_graph
....: _ = f.write(_latex_file_(g))
....: f.flush()
....: _run_latex_(f, engine="pdflatex")
....: _run_latex_(f.name, engine="pdflatex")
'pdf'
sage: view(4, margin=5, debug=True) # not tested
Expand Down

0 comments on commit 81ff989

Please sign in to comment.