Returns the options
(&self)
| 141 | |
| 142 | /// Returns the options |
| 143 | fn options(&self) -> String { |
| 144 | let mut opt = String::new(); |
| 145 | if self.facecolor != "" { |
| 146 | write!(&mut opt, ",facecolor='{}'", self.facecolor).unwrap(); |
| 147 | } |
| 148 | if self.where_condition != "" { |
| 149 | write!(&mut opt, ",where={}", self.where_condition).unwrap(); |
| 150 | } |
| 151 | if self.interpolate { |
| 152 | write!(&mut opt, ",interpolate=True").unwrap(); |
| 153 | } |
| 154 | if self.extra != "" { |
| 155 | write!(&mut opt, ",{}", self.extra).unwrap(); |
| 156 | } |
| 157 | opt |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | impl GraphMaker for FillBetween { |