Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load_ggplot() now includes a lot of verbosity #59

Open
Quentin-Bayard opened this issue May 24, 2024 · 0 comments
Open

load_ggplot() now includes a lot of verbosity #59

Quentin-Bayard opened this issue May 24, 2024 · 0 comments

Comments

@Quentin-Bayard
Copy link

Hello !
First thanks for this amazing package :)

I have an issue with the function load_ggplot() that seems to now produce a lot of prints.
I'm using plotnine v0.12.4 and patchworklib v0.6.4

Here a minimalist snippet to reproduce the issue:

import pandas as pd
import numpy as np
import plotnine as p9
import patchworklib as pw

np.random.seed(42) 
x = np.random.rand(100)
y = np.random.rand(100)

df = pd.DataFrame({'x': x, 'y': y})

plt = p9.ggplot(df, p9.aes(x=x, y=y)) + p9.geom_point()

pw.load_ggplot(plt)

returning:

maxp pruned
cmap pruned
kern dropped
post pruned
FFTM dropped
GPOS pruned
GSUB pruned
glyf pruned
Added gid0 to subset
Added first four glyphs to subset
Closing glyph list over 'GSUB': 10 glyphs before
Glyph names: ['.notdef', '.null', 'five', 'nonmarkingreturn', 'one', 'period', 'seven', 'space', 'two', 'zero']
Glyph IDs:   [0, 1, 2, 3, 17, 19, 20, 21, 24, 26]
Closed glyph list over 'GSUB': 10 glyphs after
Glyph names: ['.notdef', '.null', 'five', 'nonmarkingreturn', 'one', 'period', 'seven', 'space', 'two', 'zero']
Glyph IDs:   [0, 1, 2, 3, 17, 19, 20, 21, 24, 26]
Closing glyph list over 'MATH': 10 glyphs before
Glyph names: ['.notdef', '.null', 'five', 'nonmarkingreturn', 'one', 'period', 'seven', 'space', 'two', 'zero']
Glyph IDs:   [0, 1, 2, 3, 17, 19, 20, 21, 24, 26]
Closed glyph list over 'MATH': 10 glyphs after
Glyph names: ['.notdef', '.null', 'five', 'nonmarkingreturn', 'one', 'period', 'seven', 'space', 'two', 'zero']
Glyph IDs:   [0, 1, 2, 3, 17, 19, 20, 21, 24, 26]
Closing glyph list over 'glyf': 10 glyphs before
Glyph names: ['.notdef', '.null', 'five', 'nonmarkingreturn', 'one', 'period', 'seven', 'space', 'two', 'zero']
Glyph IDs:   [0, 1, 2, 3, 17, 19, 20, 21, 24, 26]
Closed glyph list over 'glyf': 10 glyphs after
Glyph names: ['.notdef', '.null', 'five', 'nonmarkingreturn', 'one', 'period', 'seven', 'space', 'two', 'zero']
Glyph IDs:   [0, 1, 2, 3, 17, 19, 20, 21, 24, 26]
Retaining 10 glyphs
head subsetting not needed
hhea subsetting not needed
maxp subsetting not needed
OS/2 subsetting not needed
hmtx subsetted
cmap subsetted
fpgm subsetting not needed
prep subsetting not needed
cvt  subsetting not needed
loca subsetting not needed
post subsetted
gasp subsetting not needed
MATH subsetted
GDEF subsetted
GPOS subsetted
GSUB subsetted
name subsetting not needed
glyf subsetted
head pruned
OS/2 Unicode ranges pruned: [0]
OS/2 CodePage ranges pruned: [0]
glyf pruned
GDEF pruned
GPOS pruned
GSUB pruned
name pruned

Is there a way to deactivate verbose?

Thanks a lot :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant