dataprep
dataprep copied to clipboard
EDA plot() not showing properly in VScode
Describe the bug EDA plot() not showing properly in VScode
To Reproduce Steps to reproduce the behavior:
- Open new Jupyter notebook
- Import from dataprep.eda import plot, plot_correlation, create_report, plot_missing
- Try .head() method on any test dataset so it shows first DF rows as output
- Next cell call .plot() method from dataprep
- Near finishing execution, the method adds padding to the left of all Output cells and it's impossible to scroll to the right to see the full output
Or:
import numpy as np
import pandas as pd
import datetime
from datetime import date
import matplotlib
import seaborn as sns
import matplotlib.pyplot as plt
import plotly.graph_objects as go
from sklearn.preprocessing import StandardScaler, normalize
from sklearn import metrics
from sklearn.mixture import GaussianMixture
from mlxtend.frequent_patterns import apriori
from mlxtend.frequent_patterns import association_rules
import warnings
warnings.filterwarnings('ignore')
data=pd.read_csv('marketing_campaign.csv',header=0,sep=';')
from dataprep.eda import plot, plot_correlation, create_report, plot_missing
plot(data)
Expected behavior I expected to be shown the output normally in the screen
Screenshots
Images:
Desktop (please complete the following information):
- OS: Windows 11
- Browser: None
- Platform VSCode
- Platform Version 1.74.1
- Python Version 3.10.9
- Dataprep Version 0.4.4
Additional context
Nice catch! The visualization is implemented/tested for jupyter notebook at the very beginning. With the popularity of VSCode increasing, I think supporting it should be the next step. Will circle around the issue with the team to see what exactly happens.
I have the same issue when I run it in VSCode. Could I know which plot package you use to generate plots? Probably I can try to search for if the issue is from the plot function itself. Thanks.
Same issue on vscode, i have seen a config dict in plot function. is there a way to use config to get rid of the left padding?