potatoslc commited on
Commit
e4aa9a5
·
1 Parent(s): 2d1df03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -562,10 +562,9 @@ def server(input, output, session):
562
  @render.plot
563
  def plot_curr():
564
  #print("lea part, the current log in status is :" + str(total_status["authlevel"]))
565
- #from matplotlib import pyplot as plt
566
  if total_status["authlevel"] == 1 or total_status["authlevel"] ==2:
567
  #print("The role of the current log in is :", total_status["authlevel"])
568
- print("plot lea, the authlevel is "+ str(total_status["authlevel"]))
569
  try:
570
  role = input.role()
571
  univ_region = input.univ_region()
 
562
  @render.plot
563
  def plot_curr():
564
  #print("lea part, the current log in status is :" + str(total_status["authlevel"]))
565
+ from matplotlib import pyplot as plt
566
  if total_status["authlevel"] == 1 or total_status["authlevel"] ==2:
567
  #print("The role of the current log in is :", total_status["authlevel"])
 
568
  try:
569
  role = input.role()
570
  univ_region = input.univ_region()