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

Make charting magic commands accept any python data type as arguments #7

Open
robertbindar opened this issue Jan 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@robertbindar
Copy link
Collaborator

robertbindar commented Jan 21, 2021

Currently the charting magics (%bar, %pie, etc) accept as arguments that are going to be passed to DataFrame.plot only floats, ints, bools and strings.
Whilst this is kind of enough to generate simple, not very customized charts, we should try to make these magic commands accept any other python data type that DataFrame.plot accepts as well (e.g. tuples, lists, and so on) to offer users the maximum flexibility to customize their charts.
This needs a bit of investigation to see if the ipykernel machinery the kernel inherits can help us cast a string (argument of a magic command) to the proper Python data type.

@LinuxJedi LinuxJedi added the enhancement New feature or request label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants