1 | initial version |
There is a "pretty print" feature of ipython/jupyter, that can be switched off with the %pprint
magic:
In [2]: tester()
Out[2]:
[3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3]
In [3]: %pprint
Pretty printing has been turned OFF
In [4]: tester()
Out[4]: [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3]
However, this was from an ipython/jupyter console, not Sage's one, for which it does not work, so there might be a bug with the current version of ipython/jupyter.
2 | No.2 Revision |
There is a "pretty print" feature of ipython/jupyter, that can be switched off with the %pprint
magic:
In [2]: tester()
Out[2]:
[3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3]
In [3]: %pprint
Pretty printing has been turned OFF
In [4]: tester()
Out[4]: [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3]
However, this was from an ipython/jupyter console, not Sage's one, for which it does not work, so there might be a bug with the current version of ipython/jupyter.
This is now trac ticket 22968, thanks for reporting.
3 | No.3 Revision |
There is a "pretty print" feature of ipython/jupyter, that can be switched off with the %pprint
magic:
In [2]: tester()
Out[2]:
[3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3]
In [3]: %pprint
Pretty printing has been turned OFF
In [4]: tester()
Out[4]: [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3]
However, this was from an ipython/jupyter console, not Sage's one, for which it does not work, so there might be a bug broken interaction with the current version of ipython/jupyter.Sage's own pretty printing features.
This is now trac ticket 22968, thanks for reporting.
4 | No.4 Revision |
There is a "pretty print" feature of ipython/jupyter, that can be switched off with the %pprint
magic:
In [2]: tester()
Out[2]:
[3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3]
In [3]: %pprint
Pretty printing has been turned OFF
In [4]: tester()
Out[4]: [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3]
However, this was from an a genuine ipython/jupyter console, console (loaunched from Sage with sage -ipython
), not Sage's one, for which it does not work, so there might be a broken interaction with Sage's own pretty printing features.
This is now trac ticket 22968, thanks for reporting.