-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Try to save results from ClusterMapPlotter as pdf, but the heatmap is a figure not in vector #56
Comments
Did you set
and use
to save the figure? If not, please do so and follow by any example on the documentation website, for example: https://dingwb.github.io/PyComplexHeatmap/build/html/notebooks/composite_heatmaps.html#Composite-two-heatmaps-horizontally-for-mouse-DNA-methylation-array-dataset |
No, it doesn't work. I mean the text part is editable, but the heatmap part is an image. |
Oh, I see. |
However, when your data is enormous and set Could you please tell me why you would like to edit the pdf? If you want to composite two heatmaps together, you can try the |
Thanks, it works now. Well, you always need to adjust the figures to fit different arrangements when get it published. |
I see. Thanks for the question. |
Try to save results from ClusterMapPlotter as pdf, but the heatmap is a figure not in vector.
`plt.figure(figsize=(6, 30))
cm = ClusterMapPlotter(data=data.loc[:,df_col.index.tolist()],
top_annotation=col_ha,show_rownames=True,
row_cluster=True,col_cluster=False,
label='on/off',legend_gap=7,
cmap='Purples',rasterized=True)
plt.savefig(root + "test.pdf")
plt.show()
`
The text was updated successfully, but these errors were encountered: