> + component in morphism.components] > + component_names.reverse() > + morphism_name = "\\circ ".join(component_names) > + elif isinstance(morphism, NamedMorphism): > + morphism_name = latex(Symbol(morphism.name)) > + > + return ArrowStringDescription( > + self.unit, curving, curving_amount, looping_start, > + looping_end, horizontal_direction, vertical_direction, > + label_pos, morphism_name) > + > + def _push_labels_out(self, morphisms_str_info, grid, object_coords): > + """ > + For all straight morphisms which form the visual boundary of > + the laid out diagram, puts their labels on their outer sides. > + """
This function is also a bit larger than I am comfortable with... --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1430/files#r1335992 -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patches@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.