8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c76b976 commit 14df70fCopy full SHA for 14df70f
lib/matplotlib/cycler.py
@@ -163,6 +163,19 @@ def __repr__(self):
163
msg = "({left!r} {op} {right!r})"
164
return msg.format(left=self._left, op=op, right=self._right)
165
166
+ def _repr_html_(self):
167
+ # an table showing the value of each key through a full cycle
168
+ output = "<table>"
169
+ for key in self.keys:
170
+ output += "<th>{key!r}</th>".format(key=key)
171
+ for d in iter(self):
172
+ output += "<tr>"
173
+ for val in d.values():
174
+ output += "<td>{val!r}</td>".format(val=val)
175
+ output += "</tr>"
176
+ output += "</table>"
177
+ return output
178
+
179
def _transpose(self):
180
"""
181
Internal helper function which iterates through the
0 commit comments