AymericFerreira / Plotly_barchart3D

A function to plot barchart in 3D in plotly
GNU General Public License v3.0
14 stars 2 forks source link

Incorrect plotting from external file. Repeating C axis labels #12

Closed JKomp closed 1 year ago

JKomp commented 1 year ago

I ran into two issues. The first was a naming issue between your examples and the code. Your README examples import plotly_barcharts_3d but in the code it's plotly_bar_charts_3d. Also, the data file imported in examples 2 and 3 is dataExample.csv not dataBar.csv

The second issue is more troublesome. The code doesn't seem to be handling the C axis correctly. It's duplicating C. See the attached screenshot.

Plotly_barchart3D_issue
AymericFerreira commented 1 year ago

Thank you for reporting these bugs. I will change the doc' according to new functions names.

For your graph problem you can temporarely use the function bar_charts3d_from_array : fig = bar_charts3d_from_array(df['Gamma'], df['C'], df['score 1'], x_title='Gamma', y_title='C', color='x+y') that will lead to image

I will close the issue when I will solve this issue in the main branch