You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm R and Python user and really grateful to your work (I LOVE plotnine, thanks very much !!!!)
Recently I noticed when I opneed the ipynb file at vscode, plotnine figure displayed too much larger.
(note: seaborn (matplotlib) figure doesn't.)
I use plotnine v0.12.1, VScode v1.74.3 with python extension v2023.1.10062310 AND Jupyer extention v2022.11.1003412109.
(Excuse me, It is very hard to update because of workplace security)
First image is jupyter and 2nd is vscode.
Any help would be greatly appreciated.
import pandas as pd
import plotnine
from plotnine import *
import matplotlib.pyplot as plt
import seaborn as sns
print("plt_settings:", plt.rcParams["figure.figsize"], plt.rcParams["figure.dpi"])
print("plotnine*settings:", plotnine.options.figure_size, plotnine.options.dpi)
data = pd.DataFrame({"x": range(10), "y": range(10, 20)})
sns.scatterplot(data, x = "x", y = "y")
ggplot(data, aes("x", "y")) + geom_point()
jupyter
vscode
The text was updated successfully, but these errors were encountered:
On the recent version of the vscode the plotnine is much bigger, but fit the the size of the card (it is just resizing when I resize the card), while seaborn is probably set for certain size
I'm R and Python user and really grateful to your work (I LOVE plotnine, thanks very much !!!!)
Recently I noticed when I opneed the ipynb file at vscode, plotnine figure displayed too much larger.
(note: seaborn (matplotlib) figure doesn't.)
I use plotnine v0.12.1, VScode v1.74.3 with python extension v2023.1.10062310 AND Jupyer extention v2022.11.1003412109.
(Excuse me, It is very hard to update because of workplace security)
First image is jupyter and 2nd is vscode.
Any help would be greatly appreciated.
jupyter
vscode
The text was updated successfully, but these errors were encountered: