bjpop / gurita

A convenient and expressive tool for data analytics and plotting on the command line
MIT License
6 stars 3 forks source link

Box plot missing -x parameter but with --hue raises an error #34

Open bjpop opened 2 years ago

bjpop commented 2 years ago

hatch box -y MMR --hue Cancer --show --rxtl 90 < Sample_summary.csv

Traceback (most recent call last): File "/Users/bjpop/scratch/hatch_dev/bin/hatch", line 33, in <module> sys.exit(load_entry_point('hatch==0.1.0.0', 'console_scripts', 'hatch')()) File "/Users/bjpop/scratch/hatch_dev/lib/python3.9/site-packages/hatch/hatch.py", line 123, in main main_args(sys.argv[1:]) File "/Users/bjpop/scratch/hatch_dev/lib/python3.9/site-packages/hatch/hatch.py", line 113, in main_args df = command.run(df) File "/Users/bjpop/scratch/hatch_dev/lib/python3.9/site-packages/hatch/plot.py", line 117, in run graph = sns.catplot(kind=self.name, data=df, File "/Users/bjpop/scratch/hatch_dev/lib/python3.9/site-packages/seaborn/_decorators.py", line 46, in inner_f return f(**kwargs) File "/Users/bjpop/scratch/hatch_dev/lib/python3.9/site-packages/seaborn/categorical.py", line 3862, in catplot hue_order = list(map(utils.to_utf8, hue_order)) TypeError: 'NoneType' object is not iterable