+self.default_curving_step = 4
+
+# This dictionary maps properties to the corresponding arrow
+# formatters.
+self.arrow_formatters = {}
+
+# This is the default arrow formatter which will be applied to
+# each arrow independently of its
+ component in morphism.components]
+component_names.reverse()
+morphism_name = \\circ .join(component_names)
+elif isinstance(morphism, NamedMorphism):
+morphism_name = latex(Symbol(morphism.name))
+
+return
+\xymatrix{
+A \ar[r]^{f} B \ar[ld]^{g} \\
+C
+}
+
+Finally, the ``diagram_format`` argument can be used to
+specify the format string of the diagram. For example, to
+increase the spacing by 1 cm, proceeding as follows:
+
+
+
+astr = ArrowStringDescription(cm, , 12, r, u, d, r, _, f)
+assert str(astr) == \\ar@(r,u)[dr]_{f}
+
+astr = ArrowStringDescription(cm, , 12, r, u, d, r, _, f)
+assert str(astr) == \\ar@(r,u)[dr]_{f}
+
+astr = ArrowStringDescription(cm, , 12, r, u, d, r, _, f)
+
Yay. I'm through.
---
Reply to this email directly or view it on GitHub:
https://github.com/sympy/sympy/pull/1430#issuecomment-7594977
--
You received this message because you are subscribed to the Google Groups
sympy-patches group.
To post to this group, send email to
This pull request [passes](http://travis-ci.org/sympy/sympy/builds/2057716)
(merged f0e1229b into 98cc80f0).
---
Reply to this email directly or view it on GitHub:
https://github.com/sympy/sympy/pull/1430#issuecomment-7556081
--
You received this message because you are subscribed to the
Can you rebase this onto master? It seems the commits from diagram-layout are
still shown here...
---
Reply to this email directly or view it on GitHub:
https://github.com/sympy/sympy/pull/1430#issuecomment-7560834
--
You received this message because you are subscribed to the Google Groups
@ness01 , done; sorry, I totally forgot to rebase this branch :-(
---
Reply to this email directly or view it on GitHub:
https://github.com/sympy/sympy/pull/1430#issuecomment-7562441
--
You received this message because you are subscribed to the Google Groups
sympy-patches group.
To post to
On 07.08.2012 19:32, Sergiu Ivanov wrote:
@ness01 https://github.com/ness01 , done; sorry, I totally forgot to
rebase this branch :-(
No problem. I'll start the reviewing tomorrow.
---
Reply to this email directly or view it on GitHub:
No problem. I'll start the reviewing tomorrow.
Cool!
---
Reply to this email directly or view it on GitHub:
https://github.com/sympy/sympy/pull/1430#issuecomment-7562688
--
You received this message because you are subscribed to the Google Groups
sympy-patches group.
To post to this group,
This pull request [passes](http://travis-ci.org/sympy/sympy/builds/2059822)
(merged d4bdaa5e into 3c2c3c75).
---
Reply to this email directly or view it on GitHub:
https://github.com/sympy/sympy/pull/1430#issuecomment-7563321
--
You received this message because you are subscribed to the
@ness01, thanks!
---
Reply to this email directly or view it on GitHub:
https://github.com/sympy/sympy/pull/1430#issuecomment-7563450
--
You received this message because you are subscribed to the Google Groups
sympy-patches group.
To post to this group, send email to
**SymPy Bot Summary:** :eight_spoked_asterisk: All tests have passed.
*Test command:* setup.py test
*master hash*: 3c2c3c755445737074de437f004143792f5057e3
*branch hash*: d4bdaa5ef2ef792521bbbcbd5a89ccf3efce802e
**Interpreter 1:** :eight_spoked_asterisk: All tests have passed.
*Interpreter:*
Based on the diagram layouts produced by the code in #1429, the code introduced
by this pull request allows producing Xy-pic presentations of diagrams.
This pull request should only be merged after #1429.
You can merge this Pull Request by running:
git pull https://github.com/scolobb/sympy
14 matches
Mail list logo