Skip to content

Better default alpha value for viz attributes in gexf writer#6612

Merged
dschult merged 2 commits intonetworkx:mainfrom
rossbar:default-rgba-for-gexf-writer
Apr 3, 2023
Merged

Better default alpha value for viz attributes in gexf writer#6612
dschult merged 2 commits intonetworkx:mainfrom
rossbar:default-rgba-for-gexf-writer

Conversation

@rossbar
Copy link
Copy Markdown
Contributor

@rossbar rossbar commented Apr 3, 2023

Closes #6443 with @dschult 's fix. The added test should make clear the motivation for this change - this test fails on main due to 'None' being given as the default.

rossbar and others added 2 commits April 2, 2023 21:44
Copy link
Copy Markdown
Member

@dschult dschult left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!!

@dschult dschult merged commit cf7158e into networkx:main Apr 3, 2023
Alex-Markham pushed a commit to Alex-Markham/networkx that referenced this pull request Oct 13, 2023
…x#6612)

* Add test that fails with current default ('None')

* Update default alpha value.

Co-authored-by: Dan Schult <dschult@colgate.edu>

---------

Co-authored-by: Dan Schult <dschult@colgate.edu>
dschult added a commit to BrunoBaldissera/networkx that referenced this pull request Oct 23, 2023
…x#6612)

* Add test that fails with current default ('None')

* Update default alpha value.

Co-authored-by: Dan Schult <dschult@colgate.edu>

---------

Co-authored-by: Dan Schult <dschult@colgate.edu>
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
…x#6612)

* Add test that fails with current default ('None')

* Update default alpha value.

Co-authored-by: Dan Schult <dschult@colgate.edu>

---------

Co-authored-by: Dan Schult <dschult@colgate.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Gexf export sets the rgba's alpha-value to "None" if missing (gexf schema version 1.1 import)

2 participants