Closed stefan-apollo closed 5 months ago
The plotting code contains the line
# Add extra spacing for nodes that have fewer nodes than the biggest layer spacing = 1 if i == 0 else max_layer_height / len(layer)
which messes up i==0 (the first layer)
If I remove this line
# Add extra spacing for nodes that have fewer nodes than the biggest layer spacing = max_layer_height / len(layer)
everything seems better:
Chesterton's fence: Is there a reason we had this, or can we remove the if statement?
Fixed in #348. I'm still not sure what the original reason for this was, but it was no longer useful.
The plotting code contains the line
which messes up i==0 (the first layer)![image](https://github.com/ApolloResearch/rib/assets/148209923/e8a6bbad-97a3-4a88-b141-c105475f2e7e)
If I remove this line
everything seems better:![image](https://github.com/ApolloResearch/rib/assets/148209923/3454c81c-85e8-4f7f-b791-665c447d5a89)
Chesterton's fence: Is there a reason we had this, or can we remove the if statement?