Removed all instances of print(repr()) in Composing Data notebook
"cell_type": "markdown",
"metadata": {},
"source": [
- "The structure of this object can be seen in the ``repr()``:"
+ "The structure of this object can be seen using ``print()``:"
]
},
{
},
"outputs": [],
"source": [
- "print(repr(layout))"
+ "print(layout)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
- "Above, we have already viewed the highest level of our data structure as a Layout. Here is the repr of entire Layout object, which reflects all the levels shown in the diagram:"
+ "Above, we have already viewed the highest level of our data structure as a Layout. Here is the representation of entire Layout object, which reflects all the levels shown in the diagram:"
]
},
{
},
"outputs": [],
"source": [
- "print(repr(layout))"
+ "print(layout)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
- "The ``repr()`` showed us that the ``HoloMap`` is composed of ``Overlay`` objects, six in this case (giving six frames to the animation above). Let us access one of these elements, i.e. one frame of the animation above, by indexing to retrieve an ``Overlay`` associated with the key with a ``Frequency`` of *1.0*:"
+ "The printed representation showed us that the ``HoloMap`` is composed of ``Overlay`` objects, six in this case (giving six frames to the animation above). Let us access one of these elements, i.e. one frame of the animation above, by indexing to retrieve an ``Overlay`` associated with the key with a ``Frequency`` of *1.0*:"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
- "As the ``repr()`` shows, the ``Overlay`` contains a ``Points`` object and an ``NdOverlay`` object. We can access either one of these using the attribute access supported by ``Overlay``:"
+ "As the representation shows, the ``Overlay`` contains a ``Points`` object and an ``NdOverlay`` object. We can access either one of these using the attribute access supported by ``Overlay``:"
]
},
{
