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

AttributeError: module 'plotext' has no attribute 'box' #196

Closed
coleramos425 opened this issue Jan 4, 2024 · 3 comments
Closed

AttributeError: module 'plotext' has no attribute 'box' #196

coleramos425 opened this issue Jan 4, 2024 · 3 comments

Comments

@coleramos425
Copy link

Hello. I'm following your example for Box Plot implementation and am facing the following error:

line 156, in simple_box
    plt.box(
AttributeError: module 'plotext' has no attribute 'box

I've imported the module in my file and have confirmed installation. I'm using the latest plotext==5.2.8. Any ideas on why this might be happening?

Python Version: 3.10.12

@piccolomo
Copy link
Owner

piccolomo commented Jan 9, 2024

Hi @coleramos425 sorry for late reply.

Try pip install git+https://github.com/piccolomo/plotext, to install the GitHub version.

should work.

@coleramos425
Copy link
Author

coleramos425 commented Jan 12, 2024

Thanks. I discovered that I needed to install from the repository rather than the latest PyPi release. That fixed the issue.

@piccolomo is there an ETA for the next release? I've gotten a lot of value from the new functionality and would like to see this in the official module.

@piccolomo
Copy link
Owner

piccolomo commented Jan 14, 2024

Hi @coleramos425, glad it helps.

I am will the box plot available for next version. I have been working on rebuilding next version (in spare time) from scratch and I am taking more time then expected, as I want to be happy with the code. So far I have implemented the basic matrix of plots code as well basic plot building.

There is still a long way as I need to finish all plotting tools (data points, lines, grids) and then then add all derived plots (bar plots, datetime , box plot etc). Then add docstrings, code comments and make a better documentation, possibly unit tests (as I keep on getting reminded about it). I just hope that March could be a realistic ETA. If there is any suggestions and request, now is the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants