Skip to content

Plots notebook vs .py #5034

Answered by jthomasmock
tenFnAN asked this question in Q&A
Oct 15, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @tenFnAN -- thanks for the question and for trying out Positron.

For seaborn/matplotlib, the matplotlib “Size and Shape” setting is pretty much identical to VS Code notebook and the "default" settings for size. Let me know if the below is helpful

Here's the setting for sizing policies:

I made a quick reprex with the same 6x6 facet grid and some fake data:

import seaborn as sns
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd

# Set the random seed for reproducibility
np.random.seed(42)

# Generate random data
n_points = 100
n_facets = 6 * 6

data = pd.DataFrame({
    'x': np.random.uniform(0, 2500, n_points * n_facets),
    'y': np.random.uniform(0, 2500, n_points *

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jthomasmock
Comment options

You must be logged in to vote
1 reply
@jthomasmock
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants