Having issues with chaining the font size of the title in the plot_gate function. #170
javisolivan
started this conversation in
General
Replies: 1 comment
-
Hi, It's kinda hidden but the titles are placed in a layout named p.above[1].text_font_size = '1.5em' Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working to generate plots for fcs files that I have generated. I am tying to export high resolution images but to do so I need to increase the font size. When doing so, all the fonts respond except the sample and gate path of my plot. I there a way to have the top middle text in the plot_gate function also increase in size?
Here is the code I am using:
`
output_notebook()
png_files = []
for index, den_sample_id in enumerate(wsp.get_sample_ids(group_name='All Samples')):
p = wsp.plot_gate(den_sample_id, 'ChgA_Pos',x_min=0, x_max=1, y_min=0,y_max=1, bin_width=4)
with PdfPages('combined_plots.pdf') as pdf:
for png_file in png_files:
img = plt.imread(png_file)
plt.figure(figsize=(15, 15))
plt.imshow(img)
plt.axis('off') # Turn off axis numbers and ticks
pdf.savefig() # saves the current figure into a pdf page
plt.close()
`
Beta Was this translation helpful? Give feedback.
All reactions