Matplotlib Plugin Updates

Posted on
Sun Jul 21, 2019 4:54 am
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Beta Version: v0.8.23 is now available. It has not been pushed as an official release and is not available in the Indigo Plugin Store (the version available from the store is the latest official release), therefore, the update will need to be downloaded directly from GitHub. Changes in Beta v0.8.23 (new features over 0.8.16 in blue text):

v0.8.23
  • Adds Composite Weather Device type.
  • Fixes bug in selection menu for date format (DD MMM) which was improperly defined.
v0.8.22
  • Adds lines to Area Chart device.
v0.8.21
  • Adds markers to Area Chart device. Note that the marker will be placed at the cumulative value of the data point and not its absolute value.
v0.8.20
  • Adds plot min and max to Area Chart device. Note that the min/max lines reflect the cumulative value of the data point and not its absolute value.
v0.8.19
  • Adds annotations to Area Chart device. Note that annotation reflects the cumulative value of the data point and not its absolute value.
v0.8.18
  • Adds Area Chart device type. Note that v0.8.18 does not support some features for Area Chart devices that other device types support (min, max, annotations and markers.)
v0.8.17
  • Fixes bug in setting of hourly bins for charts that support the option.
  • Adds a 2 hour option to the X Axis bins setting.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri Sep 13, 2019 6:01 am
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

I have updated this pre-release (v0.8.24). I've been running it without errors, but there may be a bug here or there that I haven't found. This will feed into the next official release if no bugs are reported.

You can grab the pre-release here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Sep 22, 2019 4:47 pm
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version 0.8.26 of the Matplotlib Plugin is now available.

This is an official release and not a pre-release (although the plugin itself is still in beta). This is a consolidated release of everything since v0.8.01. I also contains not-yet released improvements to the calendar charting device. The Calendar Device no longer requires a monospaced font and it will now track the font selected in the plugin configuration dialog. The Calendar Device also contains a few new settings as well.

Before:
chart_calendar.png
chart_calendar.png (9.83 KiB) Viewed 14092 times


After:
chart_calendar 2.png
chart_calendar 2.png (9.97 KiB) Viewed 14092 times



You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Wed Oct 16, 2019 6:02 am
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version 0.8.27 of the Matplotlib Plugin is now available.

v0.8.27
  • Fixes bug in Area, Bar, Line, and Scatter Chart devices where ticking the Suppress [item] checkbox did not silence the warnings that the [item] color is the same as the plot area color.

You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sat Dec 07, 2019 4:52 pm
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version 0.8.30 of the Matplotlib Plugin is now available.

v0.8.30
  • Fixes bug where y axis min not formatted properly when set automatically.
  • Improves error handling in csv_refresh_process.
  • Code refinements.
v0.8.29
  • Removes all references to legacy version checking.
v0.8.28
  • Provides additional validation to ensure that required plugin configuration fields are non-empty.
  • Bug fixes.

You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Dec 08, 2019 6:40 am
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version 0.8.31 of the Matplotlib Plugin is now available.

v0.8.31
  • Fixes broken link to download plugin ZIP.

You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Dec 08, 2019 7:50 am
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version 0.8.32 of the Matplotlib Plugin is now available.

v0.8.32
  • Fixes initialization error.

You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Nov 03, 2020 12:59 pm
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version 0.8.38 of the Matplotlib Plugin is now available. This is a pre-release.

Our (very outdated) version of Matplotlib includes a bug within the Bar Chart code that does not plot leading and trailing bars with a zero value. This version includes an attempt to work around this bug. Within the Bar Chart device settings there is a new option to Display Zero Bars (defaulted to off) that should force these bars to display. The change is made by setting the bar value to a very small non-zero value. This change is applied to all bars with a zero value; however, annotations will show the true value (zero).

v0.8.38
  • Final zero bar error fix.
v0.8.37
  • Adds feature to force leading and trailing bars with zero values to be plotted (to overcome matplotlib bug).
v0.8.36
  • Additional bar chart error trapping.
v0.8.35
  • Code refinements.
v0.8.34
  • Better integration of DLFramework.
v0.8.33
  • Improvements to device configuration validation.
  • Deprecates matplotlib_version.html.

You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Dec 31, 2020 2:59 pm
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

I had every intention of publishing a final release of v0.8.38, but that unfortunately slipped my mind. So, it would seem that the pre-release will be followed by another pre-release. Hopefully, it's worth the wait. There is so much that has gone into this pre-release, that I'm not going to bother detailing each individual build and instead just focus on the major features and enhancements. Details about every other build can be found on the GitHub repo for those that are interested. But of course, why would you be? The important thing is the main course and not the circuses. So with that in mind...

Version 0.9.46 of the Matplotlib Plugin is now available. This is a pre-release.

Please post all bugs and questions to the forum or raise an issue on GitHub. Be sure to check the wiki for clues on how to use the new features before posting.

You can download it here.
You can view the plugin instructions here.

v0.9.44
  • New Feature: Theme Manager - All chart display controls moved from Plugin Configuration menu to new Theme Manager. Theme manager still applies settings to all charts, but also allows for users to save themes for later use and recall/apply them using Indigo actions and triggers. For example, you could have one theme for daytime (isDaylight is True) and another for night (isDaylight is False). Note that with the implementation of the Theme Manager, the Snappy Configuration Menus advanced settings feature has been deprecated.

Screen Shot 2020-12-30 at 9.46.43 AM.png
Screen Shot 2020-12-30 at 9.46.43 AM.png (202.74 KiB) Viewed 10834 times

img_chart_bar_stock_daytime.png
img_chart_bar_stock_daytime.png (17.63 KiB) Viewed 10836 times

img_chart_bar_stock_nighttime.png
img_chart_bar_stock_nighttime.png (17.42 KiB) Viewed 10836 times

v0.9.37
  • New Device Type: Horizontal Stock Bar Chart - displays stock data (as opposed to flow data). The example chart shows five distinct data points plotted (horizontally) directly from device states and variable values.
  • New Feature - Menu item "Redraw Charts Now" now allows user to skip manual charts from being updated when control applied for that refresh.
chart_stock_bar_horizontal.png
chart_stock_bar_horizontal.png (11.07 KiB) Viewed 10836 times

v0.9.28
  • New Device Type: Stock Bar Chart - displays stock data (as opposed to flow data). The example chart shows five distinct data points plotted directly from device states and variable values.
img_chart_bar_stock_nighttime.png
img_chart_bar_stock_nighttime.png (17.42 KiB) Viewed 10836 times

v0.9.25
  • Scatter Charts now support adjustment factors.
v0.9.24
  • Custom line segments now support variable and device substitutions.
v0.9.22
  • New Feature: Hide Anomalies - For certain device types that can benefit from the feature, this new control allows the user to control whether anomalous data will be ignored when rendering the plot. The value is set to the number of standard deviations to ignore. When used, the chart will not show data points outside the standard deviation boundary (data are retained, default is turned off.)
  • New Feature: highlight current date on calendar chart (user can set to background color to "disable"). Note the example images have a transparent border so some elements don't show well here. Check the wiki for a better look, and check the plugin for a calendar with the correct data highlighted....
img_chart_line_anomalies.png
Data with anomalous data plotted.
img_chart_line_anomalies.png (11.26 KiB) Viewed 10836 times

img_chart_line_hide_anomalies.png
Data with anomalous data hidden.
img_chart_line_hide_anomalies.png (10.58 KiB) Viewed 10836 times

img_chart_calendar.png
img_chart_calendar.png (11.82 KiB) Viewed 10836 times

v0.9.12
  • Complete refactoring to move plugin from Python Multiprocessing to Python Subprocess to address the improper handling of Indigo Plugin Class objects by the multiprocessing framework.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sun Jun 27, 2021 6:44 pm
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version 0.9.50 of the Matplotlib Plugin is now available.

A couple notes about this release. First, it formally releases all the elements listed above that are tagged as pre-release. See the posts above for more information. Second, this release includes some additional refinements, bug fixes and adds some additional code to work with Indigo 2021 (Indigo 2021 moves the location where images for control pages are stored).

v0.9.50
  • Updates image save path logic for Indigo 2021.

v0.9.48
  • Refines save path audit to allow for more than just static images folder.

v0.9.47
  • New Device Type: Radial Bar Chart (see plugin Wiki for more information.

chart_stock_bar_radial.png
chart_stock_bar_radial.png (7.68 KiB) Viewed 9139 times


v0.9.46
  • Deprecates snappy config menus as they are no longer needed with the new UI changes.

You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Jul 27, 2021 5:31 am
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version 0.9.51 of the Matplotlib Plugin is now available.

  • Addresses queue module not found import error.
On some earlier versions of Python, it is possible that the plugin is unable to import the needed queue module (lower case q). This update attempts to address this by also attempting to import the Queue module (upper case Q).

You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Sat Nov 20, 2021 6:24 pm
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version 0.9.52 of the Matplotlib Plugin is now available.

  • Fixes bug in file save location testing.
  • Fixes bug that caused multiline text title to move to the left.
  • Changes alert that file save locations do not match current Indigo version from error level to warning.

You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue May 10, 2022 5:41 pm
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version v2022.0.1 of the Matplotlib Plugin is now available.

Updates plugin for Indigo 2022.1 and Python 3. Note that this version of the plugin requires at least version 2022.1 of Indigo. It will not work on older versions. Also, the plugin documentation referenced below may not yet be updated to reflect all the changes in this release (the docs will be updated soon.)

  • Polar charts are back!
  • Standardizes Indigo method implementation.
  • Deprecates `step`, `steps-mid`, and `steps-post` line styles which are no longer supported by matplotlib. Step charts will return in the future as a separate chart type.
  • Fixes bug where Stylesheets folder is not present.
  • Adds additional logic for instances where data are None values (or otherwise unavailable).
  • Streamlines Devices.xml (~800 lines moved to dynamic list callbacks).

This was a huge update under the hood because, in addition to moving from Python 2 to Python 3, we are also updating from Apple's ~10 year old version of Matplotlib (v1.3.1) to v3.5.1. There were a metric ton of changes to the implementation of the various chart types and there may be a few gremlins. The plugin has been tested extensively, so hopefully there won't be too many. The upshot here is that the update to Matplotlib 3.5.1 will ultimately unlock a lot of new features and other enhancements.

You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Wed May 11, 2022 4:06 pm
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version v2022.0.2 of the Matplotlib Plugin is now available.

  • Removes dummy testing data for battery charts.

All users of version 2022.0.1 should update to this version.

You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Tue Aug 02, 2022 4:59 am
DaveL17 offline
User avatar
Posts: 6739
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Matplotlib Plugin Updates

Version v2022.1.4 of the Matplotlib Plugin is now available.

Enhancements
  • Adds foundation for API `3.1`.
  • Adds control to rotate X-axis labels (charts: area, bar (horizontal stock), bar (vertical flow), bar (vertical stock), line, scatter, weather forecast, weather forecast composite)
  • Moves plugin environment logging to plugin menu item (log only on request).
  • Adds option to refresh individual chart to `Redraw Charts Now...` Menu Item.
  • Removes extra space between title and plot figure.
Bug Fixes
  • Fixes bug where `'list' object has not attribute 'lower'`.
  • Fixes bug where `'list' object has not attribute 'strip'`.
  • Fixes bug where user executes `Redraw Charts Now...` Menu Item without first selecting an option.
  • Fixes bug where Weather Composite Chart Precipitation Bar resulted in an empty chart.
  • Fixes bug where some settings for Forecast Weather Composite devices would revert to their default settings when the configuration dialog is opened.
You can download it here.
You can view the plugin instructions here.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Who is online

Users browsing this forum: No registered users and 0 guests