Closed vivianyamassaki closed 2 years ago
When using the min_max_scale, there are some cases when the X axis values are rounded to 1.
min_max_scale
The X axis ticks should shows the correct scaled values.
The values were rounded to 1:
from galeritas.plot_ks_classification import plot_ks_classification titanic = pd.read_csv('../../tests/data/titanic.csv') plot_ks_classification(titanic['predict_proba'], titanic['survived'], min_max_scale = (0.8, 1))
Packages: galeritas: 0.1.3, matplotlib: 3.4.0, seaborn: 0.11.1 Python: 3.8 OS: Ubuntu 18.04.6 LTS
No response
Maybe the parameter mix_max_scale name is confusing what the parameter was made for. The original and scaled values was intended to be printed?
mix_max_scale
Describe the bug
When using the
min_max_scale
, there are some cases when the X axis values are rounded to 1.Expected Results
The X axis ticks should shows the correct scaled values.
Actual Results
The values were rounded to 1:
Steps/Code to Reproduce
Your environment
Packages: galeritas: 0.1.3, matplotlib: 3.4.0, seaborn: 0.11.1 Python: 3.8 OS: Ubuntu 18.04.6 LTS
Any possible solutions?
No response
Any other comments?
Maybe the parameter
mix_max_scale
name is confusing what the parameter was made for. The original and scaled values was intended to be printed?