Merge pull request #23 from lukasliebel/patch-1

Added option to name input image node
This commit is contained in:
Haris Iqbal
2019-03-20 14:29:28 +01:00
committed by GitHub
+2 -2
View File
@@ -34,9 +34,9 @@ def to_begin():
# layers definition # 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""" 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 # Conv