Skip to content

Commit

Permalink
fix escape character
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasibalic committed Jan 2, 2024
1 parent f7f880a commit 7aaec1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions ifigures/amoplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,11 +722,9 @@ def plot(self, axis=None, debug=False,
labelOffset (_type_, optional): _description_. Defaults to None.
"""
if environ.get("PYVISTA_OFF_SCREEN") != "true":
# prevent missing meshes in headless envirnments https://github.com/pyvista/pyvista/issues/2592
self.p.enable_depth_peeling(10)
self.p.camera_position = cameraPosition
# [(13.0, 0.0, 1.0),
# (0.0, 0.0, 0.0),
# (0.1, 0.0, 0.1)]

if axis==None:
if labelAxis:
Expand Down
2 changes: 1 addition & 1 deletion ifigures/timelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def saveStaticFigure(self, folderName:str):
with open(latexFile, 'w') as f:
f.write(eventsLaTeX)

print(f"Add generated folder and this line to use timeline in LaTeX:\n\input{latexFile}")
print("Add generated folder and this line to use timeline in LaTeX:\n\\input{%s}" % latexFile)
return


Expand Down

0 comments on commit 7aaec1f

Please sign in to comment.