Skip to content
New issue

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

glimpse output not visible in qtconsole #117

Closed
mr-majkel opened this issue May 10, 2022 · 2 comments
Closed

glimpse output not visible in qtconsole #117

mr-majkel opened this issue May 10, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@mr-majkel
Copy link

Hi,

first of all thanks for the great package! Working with data in Python is again comfortable:).

My issue is with recently added glimpse() function. When I am running the code in qtconsole I'm getting <IPython.core.display.HTML object> with no output. I have tried changing various qtconsole options to make it appear, but without success. Is there an option to make the HTML object appear in qtconsole that I need to set? If it is not possible, than maybe we can add some kind of flag or option in datar itself to make the the output plain text as it is in the case of Ipython REPL run in terminal?

@pwwang pwwang added the bug Something isn't working label May 10, 2022
@pwwang
Copy link
Owner

pwwang commented May 10, 2022

Now datar detects the environment using IPython.get_ipython(). It is able to tell whether the code is running with IPyhton, but not able to distinguish notebook and qtconsole. Will let the environment choose which display function to use (._repr_html_() for notebook, and .__repr__() otherwise)

pwwang added a commit that referenced this issue May 10, 2022
@pwwang pwwang mentioned this issue May 10, 2022
@pwwang pwwang closed this as completed in 4e1e0cd May 10, 2022
@pwwang
Copy link
Owner

pwwang commented May 10, 2022

Fixed by v0.8.2

Note that glimpse has been moved from datar.base to datar.dplyr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants