<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Setting DataFrame.scale messes up my scale bars in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/setting-dataframe-scale-messes-up-my-scale-bars/m-p/34677#M2696</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the scale bar wrong or is it just resizing when your new scale is very different than a previous scale?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is your scalebar "when resizing ..." property set to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adjust width&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adjust division value (default) - that is what I'm seeing for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adjust number of divisions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adjust divisions and division values&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you set the scale in the UI, do you get the same scale bar?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Dec 2012 13:31:29 GMT</pubDate>
    <dc:creator>JeffBarrette</dc:creator>
    <dc:date>2012-12-20T13:31:29Z</dc:date>
    <item>
      <title>Setting DataFrame.scale messes up my scale bars</title>
      <link>https://community.esri.com/t5/python-questions/setting-dataframe-scale-messes-up-my-scale-bars/m-p/34676#M2695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I use the regular pan/zoom tools or Data Driven Pages, ArcGIS correctly updates my scale bar according to the way I set it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I alter a map layout's extent using the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;DataFrame.scale&lt;/SPAN&gt;&lt;SPAN&gt; property, perhaps preceded by &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;DataFrame.zoomToSelectedFeatures()&lt;/SPAN&gt;&lt;SPAN&gt;, my scale bar gets messed up, see the image below. The top image shows the scale bar correctly resized; the bottom image shows what happens when I alter zoom in Python via the DataFrame class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]20062[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So what gives? Is this a bug? Is there some kind of refresh procedure that I can use to ensure that my scale bar is resized properly when using Python to batch export maps? FYI, my scale bar is set to 'Adjust Division Value' when resizing...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 08:29:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/setting-dataframe-scale-messes-up-my-scale-bars/m-p/34676#M2695</guid>
      <dc:creator>JT2</dc:creator>
      <dc:date>2012-12-19T08:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Setting DataFrame.scale messes up my scale bars</title>
      <link>https://community.esri.com/t5/python-questions/setting-dataframe-scale-messes-up-my-scale-bars/m-p/34677#M2696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the scale bar wrong or is it just resizing when your new scale is very different than a previous scale?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is your scalebar "when resizing ..." property set to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adjust width&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adjust division value (default) - that is what I'm seeing for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adjust number of divisions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adjust divisions and division values&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you set the scale in the UI, do you get the same scale bar?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 13:31:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/setting-dataframe-scale-messes-up-my-scale-bars/m-p/34677#M2696</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2012-12-20T13:31:29Z</dc:date>
    </item>
  </channel>
</rss>

