We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@michaelaye reported this in pandas-dev/pandas#6225, but it seems to be an ipython issues, resulting from the recent #4745.
In [11]: class Foo(object): ...: def _repr_html_(self): ...: return "Me" ...: x=Foo() In [12]: type(x) /home/user1/src/ipython/IPython/core/formatters.py:199: FormatterWarning: Exception in text/html formatter: unbound method _repr_html_() must be called with Foo instance as first argument (got nothing instead) FormatterWarning,
The text was updated successfully, but these errors were encountered:
Looks like we check for the existence of a _repr_foo_ attribute, but not whether it can be called with no arguments.
_repr_foo_
Sorry, something went wrong.
require print_method to be a bound method
3e48e1e
closes ipython#4990
97ef50d
c83ff4b
3fdb990
Successfully merging a pull request may close this issue.
@michaelaye reported this in pandas-dev/pandas#6225,
but it seems to be an ipython issues, resulting from the recent #4745.
The text was updated successfully, but these errors were encountered: