title: Python Tkinter changing line width
body: <pre><code>if self.m[w] == 'Prelim_value':
          self.DrawArea2.create_line((x, 150-self.rmm2200[w]),(x + self.zoom, 150-self.rmm2200[w+1]), fill = "red", width=2)
  else:
          self.DrawArea.create_line((x, 150-self.rmm2200[w]),(x + self.zoom, 150-self.rmm2200[w+1]), fill = "red", width=1)
  </code></pre>
  
  <p>The above doesn't work as planned.  If the value in the datafile is a Prelim value I want the line to be 2 pixels wide to show that it is prelim data.  It the data is finalized data I want it to only be one pixel wide.  Everything comes across as one pixel wide.  The last 10 lines of data are all prelim values and are marked as such.  How do I get this to work correctly.</p>
  
  <p>Yes, I'm shortcutting everything as I don't have much time to work online.  The program works fine other than this and not being able to figure out my other recently posted question on PgUp and PgDn detection.</p>