Re: [sympy] Pretty Printing in Docstrings

2016-08-16 Thread Aaron Meurer
The docstring pprint is doing to use the ASCII pretty printer. If you haven't implemented ASCII pretty printing, then it is going to fall back to using the str printer. You can disable the line wrapping with pprint(wrap_line=False). Aaron Meurer On Tue, Aug 16, 2016 at 5:06 AM, SAMPAD SAHA

Re: [sympy] Pretty Printing in Docstrings

2016-08-16 Thread SAMPAD SAHA
At terminal it is pretty printing the result but in the docstrings it is just wrapping the text into next line. At terminal: In [14]: pprint(b.load) -1-1 0 R₁⋅ + R₂⋅ + 6⋅ At docstrings: >>> b.load R1*SingularityFunction(x, 0, -1) +

Re: [sympy] Pretty Printing in Docstrings

2016-08-15 Thread Aaron Meurer
The simplest way is to just call pprint manually. Aaron Meurer On Monday, August 15, 2016, SAMPAD SAHA wrote: > How to enable pretty printing in the docstrings? > > Regards > Sampad Kumar Saha > Mathematics and Computing > I.I.T. Kharagpur > > > > -- > You received this

[sympy] Pretty Printing in Docstrings

2016-08-15 Thread SAMPAD SAHA
How to enable pretty printing in the docstrings? Regards Sampad Kumar Saha Mathematics and Computing I.I.T. Kharagpur -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to