Bug 241508 - [NEW PORT] math/py-matplotlib-scalebar: Artist for matplotlib to display a scale bar
Summary: [NEW PORT] math/py-matplotlib-scalebar: Artist for matplotlib to display a sc...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-26 19:41 UTC by Rainer Hurling
Modified: 2019-11-13 23:48 UTC (History)
1 user (show)

See Also:


Attachments
shar file for new port math/py-matplotlib-scalebar (2.65 KB, text/plain)
2019-10-26 19:41 UTC, Rainer Hurling
rhurlin: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2019-10-26 19:41:04 UTC
Created attachment 208614 [details]
shar file for new port math/py-matplotlib-scalebar

This new port, math/py-matplotlib-scalebar[1], provides an artist for matplotlib to display a scale bar, aka micron bar. It is particularly useful when displaying calibrated images plotted using plt.imshow(...).

The port is needed as a dependency for upcoming versions of graphics/qgis.


[1] https://pypi.org/project/matplotlib-scalebar/



The patch is tested on Poudriere (11.3i/a, 12.0i/a, and HEADi/a),
'portlint -AC' seems happy.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-11-13 23:47:26 UTC
A commit references this bug:

Author: sunpoet
Date: Wed Nov 13 23:47:16 UTC 2019
New revision: 517535
URL: https://svnweb.freebsd.org/changeset/ports/517535

Log:
  Add py-matplotlib-scalebar 0.6.1

  Provides a new artist for matplotlib to display a scale bar, aka micron bar. It
  is particularly useful when displaying calibrated images plotted using
  plt.imshow(...).

  - While I'm here:
    - Add LICENSE_FILE
    - Use USE_LOCALE instead of patch file

  WWW: https://github.com/ppinard/matplotlib-scalebar

  PR:		241508
  Submitted by:	Rainer Hurling <rhurlin@gwdg.de>

Changes:
  head/math/Makefile
  head/math/py-matplotlib-scalebar/
  head/math/py-matplotlib-scalebar/Makefile
  head/math/py-matplotlib-scalebar/distinfo
  head/math/py-matplotlib-scalebar/pkg-descr
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-11-13 23:48:23 UTC
Committed. Thanks!