-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add new graphical representations to LanguageModel #8
Conversation
Signed-off-by: VicenteAR <vicente.arjona@hotmail.com>
Signed-off-by: VicenteAR <vicente.arjona@hotmail.com>
Signed-off-by: VicenteAR <vicente.arjona@hotmail.com>
Signed-off-by: VicenteAR <vicente.arjona@hotmail.com>
Fixed problems:
================================================================== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the matplotlib
imports before merging.
language_competition/models.py
Outdated
@@ -1,14 +1,21 @@ | |||
"""Module containing custom classes to study different language competition models.""" | |||
from typing import Optional, Tuple, Union | |||
|
|||
from bokeh.models import FixedTicker | |||
import holoviews as hv | |||
from holoviews import opts | |||
import matplotlib as mpl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import matplotlib as mpl |
language_competition/models.py
Outdated
@@ -1,14 +1,21 @@ | |||
"""Module containing custom classes to study different language competition models.""" | |||
from typing import Optional, Tuple, Union | |||
|
|||
from bokeh.models import FixedTicker | |||
import holoviews as hv | |||
from holoviews import opts | |||
import matplotlib as mpl | |||
import matplotlib.pyplot as plt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import matplotlib.pyplot as plt |
import matplotlib as mpl | ||
import matplotlib.pyplot as plt | ||
import numpy as np | ||
import panel as pn | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from IPython.core.display import display | |
Signed-off-by: VicenteAR <vicente.arjona@hotmail.com>
Fixed problems. Removed matplotlib libraries. Changed |
Added new methods to represent the lattice (using holoviews). A few problems are in order:
_plot()
insiderun
is not properly called (plot is not returned)Signed-off-by: VicenteAR vicente.arjona@hotmail.com