Since the plotnine dependency produced multiple dependency conflicts(issue #225), and the conflict/bug is not straightforward to capture. I have changed the related plotnine functions using matplotlib instead and remove the dependency.
I think the changes affect some comparison plots like link counter comparison. The new comparison plot look like more consistent with other comparison plots since they all use matplotlib. Not sure why it used ggplot from plotnine previously but we can add plot style as 'ggplot' if we would like to.
New plot via matplotlib:
old ggplot via plotnine:
There is a quite old mode share comparison function OldModeSharesComparison based on another plot functions via plot nine. I think we are using TripModeSharesComparison to show the mode share differences instead of the old function so I just remove it.
Since the plotnine dependency produced multiple dependency conflicts(issue #225), and the conflict/bug is not straightforward to capture. I have changed the related plotnine functions using matplotlib instead and remove the dependency.
I think the changes affect some comparison plots like link counter comparison. The new comparison plot look like more consistent with other comparison plots since they all use matplotlib. Not sure why it used ggplot from plotnine previously but we can add plot style as 'ggplot' if we would like to.
New plot via matplotlib:
old ggplot via plotnine:
There is a quite old mode share comparison function
OldModeSharesComparison
based on another plot functions via plot nine. I think we are usingTripModeSharesComparison
to show the mode share differences instead of the old function so I just remove it.