Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save genkuroki/eb89665143e9ee3bfafc19a434aa2d6b to your computer and use it in GitHub Desktop.
Save genkuroki/eb89665143e9ee3bfafc19a434aa2d6b to your computer and use it in GitHub Desktop.
Julia/Test/No-limit show texts by IOContext.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "A = 100*rand(12,12)",
"execution_count": 1,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 1,
"data": {
"text/plain": "12×12 Array{Float64,2}:\n 77.8848 69.3264 20.4314 78.5774 … 18.2511 48.8111 66.4158 \n 59.7741 73.363 11.3549 89.8151 60.2837 0.720314 64.7934 \n 6.48832 39.5225 1.42948 22.4344 99.9946 46.691 95.573 \n 37.7502 66.8609 95.1482 39.778 50.8157 74.9783 11.2401 \n 94.3533 57.2597 66.3843 67.1818 80.6367 38.8841 17.3624 \n 14.752 98.8918 50.4711 9.40932 … 61.8131 53.5808 10.7292 \n 76.5792 95.1703 59.5065 47.0264 30.3926 25.3833 57.6137 \n 76.0378 0.363882 65.775 67.8648 39.6948 18.9925 90.0412 \n 7.51193 96.693 72.1387 48.8919 39.28 15.8909 24.5662 \n 51.4426 72.6857 84.1165 39.0151 10.3119 53.3267 2.79704\n 92.7747 54.5524 34.3546 33.7894 … 89.2119 45.4754 13.4916 \n 24.7551 56.0084 41.3339 4.5744 10.0487 98.8469 84.401 "
},
"metadata": {}
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "display(round.(A,2))",
"execution_count": 2,
"outputs": [
{
"output_type": "display_data",
"data": {
"text/plain": "12×12 Array{Float64,2}:\n 77.88 69.33 20.43 78.58 8.0 … 18.93 31.33 18.25 48.81 66.42\n 59.77 73.36 11.35 89.82 99.4 51.38 93.16 60.28 0.72 64.79\n 6.49 39.52 1.43 22.43 75.94 40.15 87.04 99.99 46.69 95.57\n 37.75 66.86 95.15 39.78 85.0 83.67 17.67 50.82 74.98 11.24\n 94.35 57.26 66.38 67.18 19.56 53.9 12.0 80.64 38.88 17.36\n 14.75 98.89 50.47 9.41 91.6 … 40.11 97.93 61.81 53.58 10.73\n 76.58 95.17 59.51 47.03 15.74 37.23 43.8 30.39 25.38 57.61\n 76.04 0.36 65.78 67.86 73.38 40.52 95.01 39.69 18.99 90.04\n 7.51 96.69 72.14 48.89 94.26 86.01 15.82 39.28 15.89 24.57\n 51.44 72.69 84.12 39.02 76.28 65.44 22.38 10.31 53.33 2.8 \n 92.77 54.55 34.35 33.79 77.86 … 58.05 88.76 89.21 45.48 13.49\n 24.76 56.01 41.33 4.57 41.59 95.83 9.43 10.05 98.85 84.4 "
},
"metadata": {}
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "show(IOContext(STDOUT, limit=false), \"text/plain\", A)",
"execution_count": 3,
"outputs": [
{
"output_type": "stream",
"text": "12×12 Array{Float64,2}:\n 77.8848 69.3264 20.4314 78.5774 8.00313 45.9284 74.9792 18.9276 31.3297 18.2511 48.8111 66.4158 \n 59.7741 73.363 11.3549 89.8151 99.396 57.675 18.0033 51.3815 93.163 60.2837 0.720314 64.7934 \n 6.48832 39.5225 1.42948 22.4344 75.9421 15.4061 56.6306 40.1524 87.0437 99.9946 46.691 95.573 \n 37.7502 66.8609 95.1482 39.778 85.0015 1.96506 33.0259 83.6727 17.6687 50.8157 74.9783 11.2401 \n 94.3533 57.2597 66.3843 67.1818 19.5644 12.6512 89.8411 53.895 11.9992 80.6367 38.8841 17.3624 \n 14.752 98.8918 50.4711 9.40932 91.5962 67.0878 45.3086 40.1088 97.9297 61.8131 53.5808 10.7292 \n 76.5792 95.1703 59.5065 47.0264 15.7371 9.52113 55.6043 37.2291 43.8037 30.3926 25.3833 57.6137 \n 76.0378 0.363882 65.775 67.8648 73.3795 28.9012 43.9231 40.522 95.0138 39.6948 18.9925 90.0412 \n 7.51193 96.693 72.1387 48.8919 94.2596 83.1253 91.5242 86.0074 15.8208 39.28 15.8909 24.5662 \n 51.4426 72.6857 84.1165 39.0151 76.2776 10.4967 50.7269 65.4373 22.384 10.3119 53.3267 2.79704\n 92.7747 54.5524 34.3546 33.7894 77.8628 67.6568 26.9728 58.0542 88.7591 89.2119 45.4754 13.4916 \n 24.7551 56.0084 41.3339 4.5744 41.5936 19.9531 23.257 95.833 9.42822 10.0487 98.8469 84.401 ",
"name": "stdout"
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "show(IOContext(STDOUT, limit=false), \"text/plain\", round.(A,2))",
"execution_count": 4,
"outputs": [
{
"output_type": "stream",
"text": "12×12 Array{Float64,2}:\n 77.88 69.33 20.43 78.58 8.0 45.93 74.98 18.93 31.33 18.25 48.81 66.42\n 59.77 73.36 11.35 89.82 99.4 57.67 18.0 51.38 93.16 60.28 0.72 64.79\n 6.49 39.52 1.43 22.43 75.94 15.41 56.63 40.15 87.04 99.99 46.69 95.57\n 37.75 66.86 95.15 39.78 85.0 1.97 33.03 83.67 17.67 50.82 74.98 11.24\n 94.35 57.26 66.38 67.18 19.56 12.65 89.84 53.9 12.0 80.64 38.88 17.36\n 14.75 98.89 50.47 9.41 91.6 67.09 45.31 40.11 97.93 61.81 53.58 10.73\n 76.58 95.17 59.51 47.03 15.74 9.52 55.6 37.23 43.8 30.39 25.38 57.61\n 76.04 0.36 65.78 67.86 73.38 28.9 43.92 40.52 95.01 39.69 18.99 90.04\n 7.51 96.69 72.14 48.89 94.26 83.13 91.52 86.01 15.82 39.28 15.89 24.57\n 51.44 72.69 84.12 39.02 76.28 10.5 50.73 65.44 22.38 10.31 53.33 2.8 \n 92.77 54.55 34.35 33.79 77.86 67.66 26.97 58.05 88.76 89.21 45.48 13.49\n 24.76 56.01 41.33 4.57 41.59 19.95 23.26 95.83 9.43 10.05 98.85 84.4 ",
"name": "stdout"
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "showunlimitedly(x) = show(IOContext(STDOUT, limit=false), \"text/plain\", x)",
"execution_count": 5,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 5,
"data": {
"text/plain": "showunlimitedly (generic function with 1 method)"
},
"metadata": {}
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "showunlimitedly(A)",
"execution_count": 6,
"outputs": [
{
"output_type": "stream",
"text": "12×12 Array{Float64,2}:\n 77.8848 69.3264 20.4314 78.5774 8.00313 45.9284 74.9792 18.9276 31.3297 18.2511 48.8111 66.4158 \n 59.7741 73.363 11.3549 89.8151 99.396 57.675 18.0033 51.3815 93.163 60.2837 0.720314 64.7934 \n 6.48832 39.5225 1.42948 22.4344 75.9421 15.4061 56.6306 40.1524 87.0437 99.9946 46.691 95.573 \n 37.7502 66.8609 95.1482 39.778 85.0015 1.96506 33.0259 83.6727 17.6687 50.8157 74.9783 11.2401 \n 94.3533 57.2597 66.3843 67.1818 19.5644 12.6512 89.8411 53.895 11.9992 80.6367 38.8841 17.3624 \n 14.752 98.8918 50.4711 9.40932 91.5962 67.0878 45.3086 40.1088 97.9297 61.8131 53.5808 10.7292 \n 76.5792 95.1703 59.5065 47.0264 15.7371 9.52113 55.6043 37.2291 43.8037 30.3926 25.3833 57.6137 \n 76.0378 0.363882 65.775 67.8648 73.3795 28.9012 43.9231 40.522 95.0138 39.6948 18.9925 90.0412 \n 7.51193 96.693 72.1387 48.8919 94.2596 83.1253 91.5242 86.0074 15.8208 39.28 15.8909 24.5662 \n 51.4426 72.6857 84.1165 39.0151 76.2776 10.4967 50.7269 65.4373 22.384 10.3119 53.3267 2.79704\n 92.7747 54.5524 34.3546 33.7894 77.8628 67.6568 26.9728 58.0542 88.7591 89.2119 45.4754 13.4916 \n 24.7551 56.0084 41.3339 4.5744 41.5936 19.9531 23.257 95.833 9.42822 10.0487 98.8469 84.401 ",
"name": "stdout"
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "showunlimitedly(round.(A,2))",
"execution_count": 7,
"outputs": [
{
"output_type": "stream",
"text": "12×12 Array{Float64,2}:\n 77.88 69.33 20.43 78.58 8.0 45.93 74.98 18.93 31.33 18.25 48.81 66.42\n 59.77 73.36 11.35 89.82 99.4 57.67 18.0 51.38 93.16 60.28 0.72 64.79\n 6.49 39.52 1.43 22.43 75.94 15.41 56.63 40.15 87.04 99.99 46.69 95.57\n 37.75 66.86 95.15 39.78 85.0 1.97 33.03 83.67 17.67 50.82 74.98 11.24\n 94.35 57.26 66.38 67.18 19.56 12.65 89.84 53.9 12.0 80.64 38.88 17.36\n 14.75 98.89 50.47 9.41 91.6 67.09 45.31 40.11 97.93 61.81 53.58 10.73\n 76.58 95.17 59.51 47.03 15.74 9.52 55.6 37.23 43.8 30.39 25.38 57.61\n 76.04 0.36 65.78 67.86 73.38 28.9 43.92 40.52 95.01 39.69 18.99 90.04\n 7.51 96.69 72.14 48.89 94.26 83.13 91.52 86.01 15.82 39.28 15.89 24.57\n 51.44 72.69 84.12 39.02 76.28 10.5 50.73 65.44 22.38 10.31 53.33 2.8 \n 92.77 54.55 34.35 33.79 77.86 67.66 26.97 58.05 88.76 89.21 45.48 13.49\n 24.76 56.01 41.33 4.57 41.59 19.95 23.26 95.83 9.43 10.05 98.85 84.4 ",
"name": "stdout"
}
]
},
{
"metadata": {
"scrolled": false,
"trusted": true
},
"cell_type": "code",
"source": "using PyPlot\nusing PyCall\nshowunlimitedly(PyDict(matplotlib[\"rcParams\"]))",
"execution_count": 8,
"outputs": [
{
"output_type": "stream",
"text": "PyCall.PyDict{PyCall.PyAny,PyCall.PyAny,true} with 286 entries:\n \"backend\" => \"agg\"\n \"backend_fallback\" => true\n \"backend.qt4\" => \"PyQt4\"\n \"backend.qt5\" => \"PyQt5\"\n \"webagg.port\" => 8988\n \"webagg.open_in_browser\" => true\n \"webagg.port_retries\" => 50\n \"nbagg.transparent\" => true\n \"toolbar\" => \"toolbar2\"\n \"datapath\" => \"C:\\\\Anaconda3\\\\lib\\\\site-packages\\\\matplotlib\\\\mpl-data\"\n \"interactive\" => false\n \"timezone\" => \"UTC\"\n \"verbose.level\" => \"silent\"\n \"verbose.fileo\" => \"sys.stdout\"\n \"lines.linewidth\" => 1.5\n \"lines.linestyle\" => \"-\"\n \"lines.color\" => \"C0\"\n \"lines.marker\" => \"None\"\n \"lines.markeredgewidth\" => 1.0\n \"lines.markersize\" => 6.0\n \"lines.antialiased\" => true\n \"lines.dash_joinstyle\" => \"round\"\n \"lines.solid_joinstyle\" => \"round\"\n \"lines.dash_capstyle\" => \"butt\"\n \"lines.solid_capstyle\" => \"projecting\"\n \"lines.dashed_pattern\" => Any[3.7, 1.6]\n \"lines.dashdot_pattern\" => Any[6.4, 1.6, 1.0, 1.6]\n \"lines.dotted_pattern\" => Any[1.0, 1.65]\n \"lines.scale_dashes\" => true\n \"markers.fillstyle\" => \"full\"\n \"patch.linewidth\" => 1.0\n \"patch.edgecolor\" => \"k\"\n \"patch.force_edgecolor\" => false\n \"patch.facecolor\" => \"C0\"\n \"patch.antialiased\" => true\n \"hatch.color\" => \"k\"\n \"hatch.linewidth\" => 1.0\n \"hist.bins\" => 10\n \"boxplot.notch\" => false\n \"boxplot.vertical\" => true\n \"boxplot.whiskers\" => 1.5\n \"boxplot.bootstrap\" => nothing\n \"boxplot.patchartist\" => false\n \"boxplot.showmeans\" => false\n \"boxplot.showcaps\" => true\n \"boxplot.showbox\" => true\n \"boxplot.showfliers\" => true\n \"boxplot.meanline\" => false\n \"boxplot.flierprops.color\" => \"k\"\n \"boxplot.flierprops.marker\" => \"o\"\n \"boxplot.flierprops.markerfacecolor\" => \"none\"\n \"boxplot.flierprops.markeredgecolor\" => \"k\"\n \"boxplot.flierprops.markersize\" => 6.0\n \"boxplot.flierprops.linestyle\" => \"none\"\n \"boxplot.flierprops.linewidth\" => 1.0\n \"boxplot.boxprops.color\" => \"k\"\n \"boxplot.boxprops.linewidth\" => 1.0\n \"boxplot.boxprops.linestyle\" => \"-\"\n \"boxplot.whiskerprops.color\" => \"k\"\n \"boxplot.whiskerprops.linewidth\" => 1.0\n \"boxplot.whiskerprops.linestyle\" => \"-\"\n \"boxplot.capprops.color\" => \"k\"\n \"boxplot.capprops.linewidth\" => 1.0\n \"boxplot.capprops.linestyle\" => \"-\"\n \"boxplot.medianprops.color\" => \"C1\"\n \"boxplot.medianprops.linewidth\" => 1.0\n \"boxplot.medianprops.linestyle\" => \"-\"\n \"boxplot.meanprops.color\" => \"C2\"\n \"boxplot.meanprops.marker\" => \"^\"\n \"boxplot.meanprops.markerfacecolor\" => \"C2\"\n \"boxplot.meanprops.markeredgecolor\" => \"C2\"\n \"boxplot.meanprops.markersize\" => 6.0\n \"boxplot.meanprops.linestyle\" => \"--\"\n \"boxplot.meanprops.linewidth\" => 1.0\n \"font.family\" => Any[\"sans-serif\"]\n \"font.style\" => \"normal\"\n \"font.variant\" => \"normal\"\n \"font.stretch\" => \"normal\"\n \"font.weight\" => \"normal\"\n \"font.size\" => 10.0\n \"font.serif\" => Any[\"DejaVu Serif\", \"Bitstream Vera Serif\", \"Computer Modern Roman\", \"New Century Schoolbook\", \"Century Schoolbook L\", \"Utopia\", \"ITC Bookman\", \"Bookman\", \"Nimbus Roman No9 L\", \"Times New Roman\", \"Times\", \"Palatino\", \"Charter\", \"serif\"]\n \"font.sans-serif\" => Any[\"DejaVu Sans\", \"Bitstream Vera Sans\", \"Computer Modern Sans Serif\", \"Lucida Grande\", \"Verdana\", \"Geneva\", \"Lucid\", \"Arial\", \"Helvetica\", \"Avant Garde\", \"sans-serif\"]\n \"font.cursive\" => Any[\"Apple Chancery\", \"Textile\", \"Zapf Chancery\", \"Sand\", \"Script MT\", \"Felipa\", \"cursive\"]\n \"font.fantasy\" => Any[\"Comic Sans MS\", \"Chicago\", \"Charcoal\", \"ImpactWestern\", \"Humor Sans\", \"xkcd\", \"fantasy\"]\n \"font.monospace\" => Any[\"DejaVu Sans Mono\", \"Bitstream Vera Sans Mono\", \"Computer Modern Typewriter\", \"Andale Mono\", \"Nimbus Mono L\", \"Courier New\", \"Courier\", \"Fixed\", \"Terminal\", \"monospace\"]\n \"text.color\" => \"k\"\n \"text.usetex\" => false\n \"text.latex.unicode\" => false\n \"text.latex.preamble\" => Any[]\n \"text.latex.preview\" => false\n \"text.dvipnghack\" => nothing\n \"text.hinting\" => \"auto\"\n \"text.hinting_factor\" => 8\n \"text.antialiased\" => true\n \"mathtext.cal\" => \"cursive\"\n \"mathtext.rm\" => \"sans\"\n \"mathtext.tt\" => \"monospace\"\n \"mathtext.it\" => \"sans:italic\"\n \"mathtext.bf\" => \"sans:bold\"\n \"mathtext.sf\" => \"sans\"\n \"mathtext.fontset\" => \"dejavusans\"\n \"mathtext.default\" => \"it\"\n \"mathtext.fallback_to_cm\" => true\n \"image.aspect\" => \"equal\"\n \"image.interpolation\" => \"nearest\"\n \"image.cmap\" => \"viridis\"\n \"image.lut\" => 256\n \"image.origin\" => \"upper\"\n \"image.resample\" => true\n \"image.composite_image\" => true\n \"contour.negative_linestyle\" => \"dashed\"\n \"contour.corner_mask\" => true\n \"errorbar.capsize\" => 0.0\n \"axes.axisbelow\" => \"line\"\n \"axes.hold\" => nothing\n \"axes.facecolor\" => \"w\"\n \"axes.edgecolor\" => \"k\"\n \"axes.linewidth\" => 0.8\n \"axes.spines.left\" => true\n \"axes.spines.right\" => true\n \"axes.spines.bottom\" => true\n \"axes.spines.top\" => true\n \"axes.titlesize\" => \"large\"\n \"axes.titleweight\" => \"normal\"\n \"axes.titlepad\" => 6.0\n \"axes.grid\" => false\n \"axes.grid.which\" => \"major\"\n \"axes.grid.axis\" => \"both\"\n \"axes.labelsize\" => \"medium\"\n \"axes.labelpad\" => 4.0\n \"axes.labelweight\" => \"normal\"\n \"axes.labelcolor\" => \"k\"\n \"axes.formatter.limits\" => Any[-7, 7]\n \"axes.formatter.use_locale\" => false\n \"axes.formatter.use_mathtext\" => false\n \"axes.formatter.useoffset\" => true\n \"axes.formatter.offset_threshold\" => 4\n \"axes.unicode_minus\" => true\n \"axes.prop_cycle\" => PyObject cycler('color', ['#1f77b4', '#ff7f0e', '#2ca02c', '#d62728', '#9467bd', '#8c564b', '#e377c2', '#7f7f7f', '#bcbd22', '#17becf'])\n \"axes.autolimit_mode\" => \"data\"\n \"axes.xmargin\" => 0.05\n \"axes.ymargin\" => 0.05\n \"polaraxes.grid\" => true\n \"axes3d.grid\" => true\n \"scatter.marker\" => \"o\"\n \"date.autoformatter.year\" => \"%Y\"\n \"date.autoformatter.month\" => \"%Y-%m\"\n \"date.autoformatter.day\" => \"%Y-%m-%d\"\n \"date.autoformatter.hour\" => \"%m-%d %H\"\n \"date.autoformatter.minute\" => \"%d %H:%M\"\n \"date.autoformatter.second\" => \"%H:%M:%S\"\n \"date.autoformatter.microsecond\" => \"%M:%S.%f\"\n \"legend.fancybox\" => true\n \"legend.loc\" => \"best\"\n \"legend.numpoints\" => 1\n \"legend.scatterpoints\" => 1\n \"legend.fontsize\" => \"medium\"\n \"legend.markerscale\" => 1.0\n \"legend.shadow\" => false\n \"legend.frameon\" => true\n \"legend.framealpha\" => 0.8\n \"legend.borderpad\" => 0.4\n \"legend.labelspacing\" => 0.5\n \"legend.handlelength\" => 2.0\n \"legend.handleheight\" => 0.7\n \"legend.handletextpad\" => 0.8\n \"legend.borderaxespad\" => 0.5\n \"legend.columnspacing\" => 2.0\n \"legend.facecolor\" => \"inherit\"\n \"legend.edgecolor\" => \"0.8\"\n \"xtick.top\" => false\n \"xtick.bottom\" => true\n \"xtick.major.size\" => 3.5\n \"xtick.minor.size\" => 2.0\n \"xtick.major.width\" => 0.8\n \"xtick.minor.width\" => 0.6\n \"xtick.major.pad\" => 3.5\n \"xtick.minor.pad\" => 3.4\n \"xtick.color\" => \"k\"\n \"xtick.minor.visible\" => false\n \"xtick.minor.top\" => true\n \"xtick.minor.bottom\" => true\n \"xtick.major.top\" => true\n \"xtick.major.bottom\" => true\n \"xtick.labelsize\" => \"medium\"\n \"xtick.direction\" => \"out\"\n \"xtick.alignment\" => \"center\"\n \"ytick.left\" => true\n \"ytick.right\" => false\n \"ytick.major.size\" => 3.5\n \"ytick.minor.size\" => 2.0\n \"ytick.major.width\" => 0.8\n \"ytick.minor.width\" => 0.6\n \"ytick.major.pad\" => 3.5\n \"ytick.minor.pad\" => 3.4\n \"ytick.color\" => \"k\"\n \"ytick.minor.visible\" => false\n \"ytick.minor.left\" => true\n \"ytick.minor.right\" => true\n \"ytick.major.left\" => true\n \"ytick.major.right\" => true\n \"ytick.labelsize\" => \"medium\"\n \"ytick.direction\" => \"out\"\n \"ytick.alignment\" => \"center_baseline\"\n \"grid.color\" => \"#b0b0b0\"\n \"grid.linestyle\" => \"-\"\n \"grid.linewidth\" => 0.8\n \"grid.alpha\" => 1.0\n \"figure.titlesize\" => \"large\"\n \"figure.titleweight\" => \"normal\"\n \"figure.figsize\" => Any[6.4, 4.8]\n \"figure.dpi\" => 100.0\n \"figure.facecolor\" => \"w\"\n \"figure.edgecolor\" => \"w\"\n \"figure.frameon\" => true\n \"figure.autolayout\" => false\n \"figure.max_open_warning\" => 20\n \"figure.subplot.left\" => 0.125\n \"figure.subplot.right\" => 0.9\n \"figure.subplot.bottom\" => 0.11\n \"figure.subplot.top\" => 0.88\n \"figure.subplot.wspace\" => 0.2\n \"figure.subplot.hspace\" => 0.2\n \"savefig.dpi\" => \"figure\"\n \"savefig.facecolor\" => \"w\"\n \"savefig.edgecolor\" => \"w\"\n \"savefig.frameon\" => true\n \"savefig.orientation\" => \"portrait\"\n \"savefig.jpeg_quality\" => 95\n \"savefig.format\" => \"png\"\n \"savefig.bbox\" => nothing\n \"savefig.pad_inches\" => 0.1\n \"savefig.directory\" => \"~\"\n \"savefig.transparent\" => false\n \"tk.window_focus\" => false\n \"ps.papersize\" => \"letter\"\n \"ps.useafm\" => false\n \"ps.usedistiller\" => false\n \"ps.distiller.res\" => 6000\n \"ps.fonttype\" => 3\n \"pdf.compression\" => 6\n \"pdf.inheritcolor\" => false\n \"pdf.use14corefonts\" => false\n \"pdf.fonttype\" => 3\n \"pgf.debug\" => false\n \"pgf.texsystem\" => \"xelatex\"\n \"pgf.rcfonts\" => true\n \"pgf.preamble\" => Any[]\n \"svg.image_inline\" => true\n \"svg.fonttype\" => \"path\"\n \"svg.hashsalt\" => nothing\n \"docstring.hardcopy\" => false\n \"plugins.directory\" => \".matplotlib_plugins\"\n \"path.simplify\" => true\n \"path.simplify_threshold\" => 0.111111\n \"path.snap\" => true\n \"path.sketch\" => nothing\n",
"name": "stdout"
},
{
"output_type": "stream",
"text": " \"path.effects\" => Any[]\n \"agg.path.chunksize\" => 0\n \"keymap.fullscreen\" => Any[\"f\", \"ctrl+f\"]\n \"keymap.home\" => Any[\"h\", \"r\", \"home\"]\n \"keymap.back\" => Any[\"left\", \"c\", \"backspace\"]\n \"keymap.forward\" => Any[\"right\", \"v\"]\n \"keymap.pan\" => Any[\"p\"]\n \"keymap.zoom\" => Any[\"o\"]\n \"keymap.save\" => Any[\"s\", \"ctrl+s\"]\n \"keymap.quit\" => Any[\"ctrl+w\", \"cmd+w\"]\n \"keymap.grid\" => Any[\"g\"]\n \"keymap.yscale\" => Any[\"l\"]\n \"keymap.xscale\" => Any[\"k\", \"L\"]\n \"keymap.all_axes\" => Any[\"a\"]\n \"examples.directory\" => \"\"\n \"animation.html\" => \"none\"\n \"animation.writer\" => \"ffmpeg\"\n \"animation.codec\" => \"h264\"\n \"animation.bitrate\" => -1\n \"animation.frame_format\" => \"png\"\n \"animation.ffmpeg_path\" => \"ffmpeg\"\n \"animation.ffmpeg_args\" => Any[]\n \"animation.avconv_path\" => \"avconv\"\n \"animation.avconv_args\" => Any[]\n \"animation.mencoder_path\" => \"mencoder\"\n \"animation.mencoder_args\" => Any[]\n \"animation.convert_path\" => \"convert\"\n \"animation.convert_args\" => Any[]\n \"_internal.classic_mode\" => false",
"name": "stdout"
}
]
},
{
"metadata": {
"scrolled": true,
"trusted": true
},
"cell_type": "code",
"source": "@pyimport matplotlib.font_manager as fm\nttffonts = sort(fm.findSystemFonts(fontpaths=nothing, fontext=\"ttf\"))\nttffonts = sort([ttffonts[i] for i in 1:length(ttffonts) if ismatch(r\"Fonts\", ttffonts[i])])\n\nshowunlimitedly(ttffonts)",
"execution_count": 9,
"outputs": [
{
"output_type": "stream",
"text": "327-element Array{String,1}:\n \"C:\\\\Windows\\\\Fonts\\\\ANTQUAB.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\ANTQUABI.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\ANTQUAI.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\ARIALN.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\ARIALNB.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\ARIALNBI.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\ARIALNI.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\ARIALUNI.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\BKANT.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\BOOKOS.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\BOOKOSB.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\BOOKOSBI.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\BOOKOSI.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\BRADHITC.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\BSSYM7.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\CENTURY.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\Candara.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\Candarab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\Candarai.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\Candaraz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\FREESCPT.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\FRSCRIPT.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\GARA.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\GARABD.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\GARAIT.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\GOTHIC.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\GOTHICB.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\GOTHICBI.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\GOTHICI.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\Gabriola.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\HGRSKP.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\HGRSMP.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\ITCKRIST.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\JUICE___.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\KhmerUI.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\KhmerUIb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\LHANDW.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\LaoUI.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\LaoUIb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\LeelUIsl.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\LeelaUIb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\LeelawUI.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\MISTRAL.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\MTCORSVA.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\MTEXTRA.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\Nirmala.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\NirmalaB.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\NirmalaS.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\OCRB.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\OUTLOOK.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\PAPYRUS.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\PRISTINA.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\REFSAN.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\REFSPCL.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\STIX-Bold.otf\" \n \"C:\\\\Windows\\\\Fonts\\\\STIX-BoldItalic.otf\" \n \"C:\\\\Windows\\\\Fonts\\\\STIX-Italic.otf\" \n \"C:\\\\Windows\\\\Fonts\\\\STIX-Regular.otf\" \n \"C:\\\\Windows\\\\Fonts\\\\STIXMath-Regular.otf\" \n \"C:\\\\Windows\\\\Fonts\\\\Shonar.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\Shonarb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\SourceHanSansJP-Bold.otf\" \n \"C:\\\\Windows\\\\Fonts\\\\SourceHanSansJP-ExtraLight.otf\"\n \"C:\\\\Windows\\\\Fonts\\\\SourceHanSansJP-Heavy.otf\" \n \"C:\\\\Windows\\\\Fonts\\\\SourceHanSansJP-Light.otf\" \n \"C:\\\\Windows\\\\Fonts\\\\SourceHanSansJP-Medium.otf\" \n \"C:\\\\Windows\\\\Fonts\\\\SourceHanSansJP-Normal.otf\" \n \"C:\\\\Windows\\\\Fonts\\\\SourceHanSansJP-Regular.otf\" \n \"C:\\\\Windows\\\\Fonts\\\\TEMPSITC.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\UrdType.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\UrdTypeb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\VL-Gothic-Regular.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\VL-PGothic-Regular.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\Vani.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\Vanib.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\WINGDNG2.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\WINGDNG3.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\YUMIN.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\YUMINDB.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\YUMINL.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\ZWAdobeF.TTF\" \n \"C:\\\\Windows\\\\Fonts\\\\ahronbd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\aldhabi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\andlso.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\angsa.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\angsab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\angsai.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\angsau.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\angsaub.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\angsaui.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\angsauz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\angsaz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\aparaj.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\aparajb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\aparajbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\aparaji.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\arabtype.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\arial.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\arialbd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\arialbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ariali.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ariblk.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\browa.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\browab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\browai.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\browau.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\browaub.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\browaui.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\browauz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\browaz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\calibri.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\calibrib.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\calibrii.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\calibril.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\calibrili.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\calibriz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cambriab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cambriai.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cambriaz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\comic.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\comicbd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\comici.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\comicz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\consola.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\consolab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\consolai.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\consolaz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\constan.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\constanb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\constani.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\constanz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\corbel.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\corbelb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\corbeli.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\corbelz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cordia.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cordiab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cordiai.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cordiau.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cordiaub.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cordiaui.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cordiauz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cordiaz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\cour.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\courbd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\courbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\couri.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\daunpenh.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\david.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\davidbd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\dokchamp.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ebrima.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ebrimabd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\estre.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\euphemia.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\framd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\framdit.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\frank.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\gadugi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\gadugib.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\gautami.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\gautamib.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\georgia.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\georgiab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\georgiai.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\georgiaz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\gisha.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\gishabd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\himalaya.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\impact.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ipaexg.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ipaexm.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ipag.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ipagp.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ipam.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ipamp.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\iskpota.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\iskpotab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\javatext.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\kaiu.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\kalinga.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\kalingab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\kartika.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\kartikab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\kokila.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\kokilab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\kokilabi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\kokilai.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\l_10646.ttf\" \n",
"name": "stdout"
},
{
"output_type": "stream",
"text": " \"C:\\\\Windows\\\\Fonts\\\\latha.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\lathab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\leelawad.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\leelawdb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\lingoes.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\lucon.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\lvnm.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\lvnmbd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\majalla.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\majallab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\malgun.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\malgunbd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\mangal.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\mangalb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\marlett.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\micross.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\migu-1c-bold.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\migu-1c-regular.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\migu-1m-bold.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\migu-1m-regular.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\migu-1p-bold.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\migu-1p-regular.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\migu-2m-bold.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\migu-2m-regular.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\mmrtext.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\mmrtextb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\monbaiti.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\moolbor.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\mriam.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\mriamc.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\msuighub.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\msuighur.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\msyi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\mvboli.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\nrkis.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ntailu.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\ntailub.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\nyala.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\pala.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\palab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\palabi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\palai.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\phagspa.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\phagspab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\plantc.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\raavi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\raavib.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\rod.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\segoepr.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\segoeprb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\segoesc.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\segoescb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\segoeui.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\segoeuib.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\segoeuii.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\segoeuil.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\segoeuisl.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\segoeuiz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\seguibl.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\seguibli.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\seguiemj.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\seguili.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\seguisb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\seguisbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\seguisli.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\seguisym.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\shruti.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\shrutib.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\simfang.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\simhei.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\simkai.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\simpbdo.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\simpfxo.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\simpo.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\simsunb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\sylfaen.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\symbol.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\tahoma.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\tahomabd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\taile.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\taileb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\times.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\timesbd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\timesbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\timesi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\tradbdo.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\trado.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\trebuc.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\trebucbd.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\trebucbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\trebucit.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\tunga.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\tungab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcdb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcdbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcdi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcdl.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upceb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcebi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcei.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcel.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcfb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcfbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcfi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcfl.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcib.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcibi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcii.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcil.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcjb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcjbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcji.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcjl.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upckb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upckbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcki.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upckl.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upclb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upclbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcli.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\upcll.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\utsaah.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\utsaahb.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\utsaahbi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\utsaahi.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\verdana.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\verdanab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\verdanai.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\verdanaz.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\vijaya.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\vijayab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\vrinda.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\vrindab.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\webdings.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\wingding.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\yugothib.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\yugothic.ttf\" \n \"C:\\\\Windows\\\\Fonts\\\\yugothil.ttf\" ",
"name": "stdout"
}
]
},
{
"metadata": {
"scrolled": true,
"trusted": true
},
"cell_type": "code",
"source": "fontnames = unique(sort((f->fm.FontProperties(fname=f)[:get_name]()).(ttffonts)))\nshowunlimitedly(fontnames)",
"execution_count": 10,
"outputs": [
{
"output_type": "stream",
"text": "153-element Array{String,1}:\n \"Aharoni\" \n \"Aldhabi\" \n \"Andalus\" \n \"Angsana New\" \n \"AngsanaUPC\" \n \"Aparajita\" \n \"Arabic Typesetting\" \n \"Arial\" \n \"Arial Unicode MS\" \n \"Book Antiqua\" \n \"Bookman Old Style\" \n \"Bookshelf Symbol 7\" \n \"Bradley Hand ITC\" \n \"Browallia New\" \n \"BrowalliaUPC\" \n \"Calibri\" \n \"Cambria\" \n \"Candara\" \n \"Century\" \n \"Century Gothic\" \n \"Comic Sans MS\" \n \"Consolas\" \n \"Constantia\" \n \"Corbel\" \n \"Cordia New\" \n \"CordiaUPC\" \n \"Courier New\" \n \"DFKai-SB\" \n \"DaunPenh\" \n \"David\" \n \"DilleniaUPC\" \n \"DokChampa\" \n \"Ebrima\" \n \"Estrangelo Edessa\" \n \"EucrosiaUPC\" \n \"Euphemia\" \n \"FangSong\" \n \"FrankRuehl\" \n \"Franklin Gothic Medium\" \n \"FreesiaUPC\" \n \"Freestyle Script\" \n \"French Script MT\" \n \"Gabriola\" \n \"Gadugi\" \n \"Garamond\" \n \"Gautami\" \n \"Georgia\" \n \"Gisha\" \n \"HGMaruGothicMPRO\" \n \"HGSeikaishotaiPRO\" \n \"IPAGothic\" \n \"IPAMincho\" \n \"IPAPGothic\" \n \"IPAPMincho\" \n \"IPAexGothic\" \n \"IPAexMincho\" \n \"Impact\" \n \"IrisUPC\" \n \"Iskoola Pota\" \n \"JasmineUPC\" \n \"Javanese Text\" \n \"Juice ITC\" \n \"KaiTi\" \n \"Kalinga\" \n \"Kartika\" \n \"Khmer UI\" \n \"KodchiangUPC\" \n \"Kokila\" \n \"Kristen ITC\" \n \"Lao UI\" \n \"Latha\" \n \"Leelawadee\" \n \"Leelawadee UI\" \n \"Levenim MT\" \n \"LilyUPC\" \n \"Lingoes Unicode\" \n \"Lucida Console\" \n \"Lucida Handwriting\" \n \"Lucida Sans Unicode\" \n \"MS Outlook\" \n \"MS Reference Sans Serif\"\n \"MS Reference Specialty\" \n \"MT Extra\" \n \"MV Boli\" \n \"Malgun Gothic\" \n \"Mangal\" \n \"Marlett\" \n \"Microsoft Himalaya\" \n \"Microsoft New Tai Lue\" \n \"Microsoft PhagsPa\" \n \"Microsoft Sans Serif\" \n \"Microsoft Tai Le\" \n \"Microsoft Uighur\" \n \"Microsoft Yi Baiti\" \n \"Migu 1C\" \n \"Migu 1M\" \n \"Migu 1P\" \n \"Migu 2M\" \n \"Miriam\" \n \"Miriam Fixed\" \n \"Mistral\" \n \"Mongolian Baiti\" \n \"Monotype Corsiva\" \n \"MoolBoran\" \n \"Myanmar Text\" \n \"Narkisim\" \n \"Nirmala UI\" \n \"Nyala\" \n \"OCRB\" \n \"Palatino Linotype\" \n \"Papyrus\" \n \"Plantagenet Cherokee\" \n \"Pristina\" \n \"Raavi\" \n \"Rod\" \n \"STIX\" \n \"STIX Math\" \n \"Sakkal Majalla\" \n \"Segoe Print\" \n \"Segoe Script\" \n \"Segoe UI\" \n \"Segoe UI Emoji\" \n \"Segoe UI Symbol\" \n \"Shonar Bangla\" \n \"Shruti\" \n \"SimHei\" \n \"SimSun-ExtB\" \n \"Simplified Arabic\" \n \"Simplified Arabic Fixed\"\n \"Source Han Sans JP\" \n \"Sylfaen\" \n \"Symbol\" \n \"Tahoma\" \n \"Tempus Sans ITC\" \n \"Times New Roman\" \n \"Traditional Arabic\" \n \"Trebuchet MS\" \n \"Tunga\" \n \"Urdu Typesetting\" \n \"Utsaah\" \n \"VL Gothic\" \n \"VL PGothic\" \n \"Vani\" \n \"Verdana\" \n \"Vijaya\" \n \"Vrinda\" \n \"Webdings\" \n \"Wingdings\" \n \"Wingdings 2\" \n \"Wingdings 3\" \n \"Yu Gothic\" \n \"Yu Mincho\" \n \"ZWAdobeF\" ",
"name": "stdout"
}
]
},
{
"metadata": {
"collapsed": true,
"trusted": true
},
"cell_type": "code",
"source": "",
"execution_count": null,
"outputs": []
}
],
"metadata": {
"_draft": {
"nbviewer_url": "https://gist.github.com/eb89665143e9ee3bfafc19a434aa2d6b"
},
"gist": {
"id": "eb89665143e9ee3bfafc19a434aa2d6b",
"data": {
"description": "Julia/Test/No-limit show texts by IOContext.ipynb",
"public": true
}
},
"kernelspec": {
"name": "julia-0.6",
"display_name": "Julia 0.6.0",
"language": "julia"
},
"language_info": {
"file_extension": ".jl",
"name": "julia",
"mimetype": "application/julia",
"version": "0.6.0"
},
"toc": {
"threshold": 4,
"number_sections": true,
"toc_cell": false,
"toc_window_display": false,
"toc_section_display": "block",
"sideBar": true,
"navigate_menu": true,
"moveMenuLeft": true,
"widenNotebook": false,
"colors": {
"hover_highlight": "#DAA520",
"selected_highlight": "#FFD700",
"running_highlight": "#FF0000",
"wrapper_background": "#FFFFFF",
"sidebar_border": "#EEEEEE",
"navigate_text": "#333333",
"navigate_num": "#000000"
},
"nav_menu": {
"height": "12px",
"width": "252px"
}
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment