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

create_plot -> [...] highlight_labels -> does not accept raw strings ? how can i use matpotlib LaTeX for label rendering #53

Open
andrea-mar opened this issue Nov 18, 2024 · 1 comment

Comments

@andrea-mar
Copy link

i need to bold only part of each label, not the whole text. it seems that when i use r'\textbf{Bold Text} followed by some other text' , this is not recognized and not applied. Is there documentation on how to do this? or is it even possible?

@lmcinnes
Copy link
Contributor

I think that may not actually be possible with the current setup unfortunately. In principle you can take the figure returned and process the individual text artists individually and update them, but I don't think there's a way to get partial label text bolding pushed through the current API that is exposed in datamapplot. Sorry.

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

2 participants