Untitled

 avatar
unknown
plain_text
a year ago
781 B
5
Indexable
from matplotlib import pyplot as plt

from matplotlib.sankey import Sankey


# Define the main focus and elements
main_focus = "Communicative Competence"
elements = [
    "Linguistic Theories",
    "Teaching Methods",
    "Assessment Strategies",
    "Cultural Awareness",
    "Contextual Factors",
    "Critical Thinking"
]

# Set up the Sankey diagram
sankey = Sankey(unit=None)

# Main focus connection
sankey.add(flows=[1, -1, -1, -1, -1, -1, -1],
           labels=[main_focus] + elements,
           orientations=[0, 1, 1, 1, 1, 1, 1])

# Draw the diagram
fig, ax = plt.subplots(figsize=(10, 6))
sankey.finish()
plt.title('Philosophy of Teaching English Language')
plt.savefig("/mnt/data/Philosophy_of_Teaching_English_Language.pdf")
plt.show
()
Editor is loading...
Leave a Comment