{"id":28444,"library":"vnstock-ezchart","title":"vnstock-ezchart","description":"vnstock-ezchart is a high-level Python charting library built on Matplotlib and Seaborn, offering a simplified API for routine data visualization. Version 0.0.3 requires Python >=3.10 and is actively maintained on GitHub by vnstock-hq.","status":"active","version":"0.0.3","language":"python","source_language":"en","source_url":"https://github.com/vnstock-hq/vnstock_ezchart","tags":["visualization","matplotlib-wrapper","seaborn-wrapper","data-science"],"install":[{"cmd":"pip install vnstock-ezchart","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Primary plotting backend","package":"matplotlib","optional":false},{"reason":"Statistical data visualization wrapper","package":"seaborn","optional":false},{"reason":"Data manipulation and handling","package":"pandas","optional":false}],"imports":[{"note":"Wrong import path: the package name uses underscores, not hyphens.","wrong":"from ezchart import EzChart","symbol":"EzChart","correct":"from vnstock_ezchart import EzChart"},{"note":"Top-level module is not named 'ezchart'; use full package name.","wrong":"import ezchart as chart","symbol":"chart","correct":"from vnstock_ezchart import chart"}],"quickstart":{"code":"import pandas as pd\nfrom vnstock_ezchart import EzChart\n\ndf = pd.DataFrame({\n    'x': ['A', 'B', 'C', 'D'],\n    'y': [10, 20, 15, 25]\n})\n\nchart = EzChart(df, x='x', y='y')\nchart.bar()\nchart.show()","lang":"python","description":"Creates a simple bar chart from a DataFrame using EzChart."},"warnings":[{"fix":"Convert data to pandas DataFrame before passing to EzChart.","message":"EzChart expects a pandas DataFrame; passing other iterables may raise AttributeError.","severity":"gotcha","affected_versions":"<=0.0.3"},{"fix":"Use chart.savefig('output.png') to save the plot without blocking.","message":"The chart.show() method blocks execution in non-interactive environments; use chart.savefig() instead.","severity":"gotcha","affected_versions":"<=0.0.3"},{"fix":"Update imports to: from vnstock_ezchart import EzChart","message":"The old import pattern 'import ezchart' was used in pre-release versions; now it's 'vnstock_ezchart'.","severity":"deprecated","affected_versions":">=0.0.1, <0.0.3"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run: pip install vnstock-ezchart","cause":"Package not installed or incorrect environment.","error":"ImportError: No module named 'vnstock_ezchart'"},{"fix":"Instantiate EzChart first: chart = EzChart(df, x='x', y='y'); chart.bar()","cause":"Calling chart method directly on DataFrame instead of EzChart instance.","error":"AttributeError: 'DataFrame' object has no attribute 'bar'"},{"fix":"Provide column names: EzChart(df, x='col1', y='col2')","cause":"Missing required keyword arguments 'x' and 'y' when creating EzChart.","error":"ValueError: x and y must be specified"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}