Merge pull request #23 from lukasliebel/patch-1
Added option to name input image node
This commit is contained in:
+2
-2
@@ -34,9 +34,9 @@ def to_begin():
|
||||
|
||||
# layers definition
|
||||
|
||||
def to_input( pathfile, to='(-3,0,0)', width=8, height=8 ):
|
||||
def to_input( pathfile, to='(-3,0,0)', width=8, height=8, name="temp" ):
|
||||
return r"""
|
||||
\node[canvas is zy plane at x=0] (temp) at """+ to +""" {\includegraphics[width="""+ str(width)+"cm"+""",height="""+ str(height)+"cm"+"""]{"""+ pathfile +"""}};
|
||||
\node[canvas is zy plane at x=0] (""" + name + """) at """+ to +""" {\includegraphics[width="""+ str(width)+"cm"+""",height="""+ str(height)+"cm"+"""]{"""+ pathfile +"""}};
|
||||
"""
|
||||
|
||||
# Conv
|
||||
|
||||
Reference in New Issue
Block a user