-
Notifications
You must be signed in to change notification settings - Fork 38
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
How to modify node_label_fontdict? #36
Comments
That's totally fine. The fact that even after reading the documentation you are unsure what to do means that the documentation needs more work. Basically, The following command sets the fontsize to 20 pts: Graph(nx.complete_graph(7), node_labels=True, node_label_fontdict=dict(size=20)) There are a few more examples here. |
Also, thanks to your post I just learnt that |
Thanks so much. This is great! |
I apologize for posting this here, as it is not a bug or issue but instead a question regarding the adjustment of node label font sizes, one that I doubt would yield a response on StackOverflow.
At https://netgraph.readthedocs.io/en/latest/graph_classes.html
it states that
node_label_fontdict
consists of keyword arguments passed to matplotlib.text.Text. I'm looking at matplotlib.text.Text right now and see the familiar keyword argumentfontsize
. It's not clear what an example dictionary,node_label_fontdict
would look like if I merely wanted to change my label font size.BTW, this package is really nice. I plan to use it for community detection in the context of EEG signal analysis.
The text was updated successfully, but these errors were encountered: